Link to home
Start Free TrialLog in
Avatar of J N
J N

asked on

Twitter API and public user timelines

Hi,

I want to display tweets on a website. I want to customize how it looks and feels. i want to get the data for the websites tweets and display them. I have been reading the API documentation and it seems like i need to use external libraries and OAUTH. I am not to sure how to continue.

Any help is greatly appreciated.

If any of you also have any ideas about a similar feat on soundcloud, please let me know
Avatar of KRUNAL TAILOR
KRUNAL TAILOR

Hi  M. Jayme Nagy,

Have you checked below link? On this link you will get full information of twitter-libraries, As you mentioned PHP script check PHP libraries on this link.
https://dev.twitter.com/docs/twitter-libraries

Also, For SoundCloud there is an developer api on this link: http://developers.soundcloud.com/docs/api/guide

Hope this will help you. Enjoy!

Thanks & Regards,
Krunal T. Tailor
Avatar of J N

ASKER

Hi,
Thanks

im trying to stay away from libraries and simply use file_get_contents
Hi M. Jayme Nagy,

In that case you want something like this, go to below link.
http://tareq.wedevs.com/2009/05/playing-with-twitter-json-using-php/

Thanks & Regards,
Krunal T. Tailor
Avatar of J N

ASKER

Hi,

that is what i am looking for!

however i think the format of the url is something like so


http://twitter.com/status/user_timeline/MY_USERNAME.json?count=10

which in my case is

http://twitter.com/status/user_timeline/bushbrigade.json?count=10  -> does not work i get error 34

I believe this access has been superseded with the release of v1.1
Hi M. Jayme Nagy,

Have you checked follow twitter doc link?
https://dev.twitter.com/docs/api/1.1/get/statuses/user_timeline

Always specify either an user_id or screen_name when requesting a user timeline.
Check the parameter details on above link.

Hope this will Help you.

Thanks & Regards,
Krunal T. Tailor
Avatar of J N

ASKER

i have tried using this url

      
https://api.twitter.com/1.1/statuses/user_timeline.json?screen_name=bushbrigade&count=2

and i get

{"errors":[{"message":"Bad Authentication data","code":215}]}

so i registed my app with twitter and changed the access to all and i still get the error
ASKER CERTIFIED SOLUTION
Avatar of KRUNAL TAILOR
KRUNAL TAILOR

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of J N

ASKER

i just used a library

thanks