Best practices - store Twitter credentials or not?

前端 未结 4 1460
故里飘歌
故里飘歌 2020-12-19 20:55

I\'d like to be able to give my users the ability to display their recent tweets on their profile on my website.

I have a PHP twitter wrapper and understand how to m

4条回答
  •  攒了一身酷
    2020-12-19 21:12

    You don't need their passwords to pull their latest tweets, unless their profiles are locked, simply pull the feed from http://twitter.com/statuses/user_timeline/username.rss

    You should look at Twitter's OAUTH support (although they have disabled it). This enables you to prompt the users once, and then store a response from twitter which will allow you to post

提交回复
热议问题