开发者

How do I display my own tweets using new OAuth?

开发者 https://www.devze.com 2023-01-18 07:13 出处:网络
I had a twitter timeline displayed on my site using basic authorization. Now it stopped working. I need to make it work again. What should I do?

I had a twitter timeline displayed on my site using basic authorization. Now it stopped working. I need to make it work again. What should I do?

I've gone th开发者_如何学运维rough some tutorials and they all were like "how to display timeline from USER THAT ACCESSED YOUR WEB" or "let people tweet from you app", but none of them shows simple scenario like "showing my user timeline on my webpage".

Do I need to register an application on twitter.com for such a simple task? Using basic auth it was simple, just give me username and proper password and read this json :)

Thx for any help.


Check out this tutorial: OAuth for PHP Twitter Apps. It walks you through all the steps in setting up your OAuth for Twitter using Abraham Williams' TwitterOAuth. After that you can use everything that's described in the API documentation.


If your tweets are public, you can grab them in an rss feed without login.

0

精彩评论

暂无评论...
验证码 换一张
取 消