dongxianshuai8927 2015-05-20 16:34
浏览 31

PHP使用用户名和密码发布Twitter API

I have been looking at examples of Twitter Api and none of the onces I've been able to find use the user's username and password.

Basically, I want to be able to tell the code the account that I want to log into in order to post a tweet.

So basically I want the user to be able to post into different accounts by changing the username and password.

Doe anyone know if the api settings oauth_access_token, etc can carry a username and password so it tells the api what account to post to?

Otherwise, does anyone have any idea on where to start?

  • 写回答

2条回答 默认 最新

  • duanchuiwen6694 2015-05-20 16:36
    关注

    I have been looking at examples of Twitter Api and none of the onces I've been able to find use the user's username and password.

    Collecting a user's password is a violation of the Twitter TOS.

    You should be using their OAuth authentication to get an access token, which can be used essentially like a username and password to access that user's account.

    评论

报告相同问题?

悬赏问题

  • ¥30 这是哪个作者做的宝宝起名网站
  • ¥60 版本过低apk如何修改可以兼容新的安卓系统
  • ¥25 由IPR导致的DRIVER_POWER_STATE_FAILURE蓝屏
  • ¥50 有数据,怎么建立模型求影响全要素生产率的因素
  • ¥50 有数据,怎么用matlab求全要素生产率
  • ¥15 TI的insta-spin例程
  • ¥15 完成下列问题完成下列问题
  • ¥15 C#算法问题, 不知道怎么处理这个数据的转换
  • ¥15 YoloV5 第三方库的版本对照问题
  • ¥15 请完成下列相关问题!