我应该使用什么 Twitter 访问令牌来自动化推文? [英] What Twitter access token should I use to automate tweets?

查看:54
本文介绍了我应该使用什么 Twitter 访问令牌来自动化推文?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道实现以下目标需要什么访问令牌.

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

My Meteor 应用程序会抓取各种 RSS 提要并制作每日摘要.我想在创建每日摘要时使用应用的 Twitter 帐户自动发布有关每日摘要的推文.

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.

如我所见,在 doc 中,似乎我需要使用 应用程序所有者访问令牌 并使用应用程序的 Twitter 帐户创建我的应用程序.这是一种正确的方法吗?

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?

推荐答案

是的,没错.也很简单.

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

  1. 转到 Twitter 应用,然后使用您的常规 Twitter 帐户登录假设您有一个,如果没有,则需要创建一个.
  2. 登录后,点击创建新应用"按钮.
  3. 填写申请(名称、描述以及其他任何要求).
  4. 创建您的密钥和访问令牌.与您信任的用户共享这些信息,因为他们将用于访问 twitter API 以读取/写入信息.
  5. 为您创建的应用程序提供读取和写入"权限根据您在问题中提出的内容获得许可.
  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.

然后,根据您使用的软件/语言,有大量现有的软件包可以帮助您访问和获取 API 中的信息.

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.

这篇关于我应该使用什么 Twitter 访问令牌来自动化推文?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆