What Twitter access token should I use to automate tweets?

冷暖自知 提交于 2019-12-12 02:50:43

问题


I would like to know what access token I require to achieve the following.

My Meteor app crawls various RSS feeds and makes a daily digest. I would like to automatically tweet about the daily digest when it is created, using the app's Twitter account.

As I see, in the doc, it seems that I need to use application owner access token and create my app using the app's Twitter account. Is this a correct approach?


回答1:


Yes, that's correct. It's quite simple too.

  1. Go to Twitter Apps and login with your regular twitter account assuming you have one, if not you need to create one.
  2. Once signed in click on Create New App button.
  3. Fill out the application (Name, description, and whatever else it requires).
  4. Create your key and access tokens. Share those with users that you trust as they'll be used to access the twitter API to read/write information.
  5. Give the application you created a "Read and Write" permission based on what you asked in the question.

Then depending on the software/language you use there's a plenty of existing packages that can help you access and obtain the information from the API.



来源:https://stackoverflow.com/questions/31015366/what-twitter-access-token-should-i-use-to-automate-tweets

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!