Oh, I had to exchange the request token for access token and then
only, use it for API calls.
I wanted to know how oAuth works, so didn't use library.
Now, I have understood it and the script works good.
Thanks anyways!

Coding in scratch is not just reinventing the already invented wheel,
but the passion and patience and the curiosity on it's invention!

On Dec 30, 6:20 pm, Adam Green <140...@gmail.com> wrote:
> If you don't know how to get started with the API, why not use a PHP
> library and have it do this work for you? Two to start with 
> are:http://github.com/abraham/twitteroauthhttp://github.com/themattharris/tmhOAuth
> Once you get things working you can look at the library's code as a
> model and then write it yourself.
> On Thu, Dec 30, 2010 at 4:22 AM, xtranophilist <xtranophil...@gmail.com> 
> wrote:
> > I am starting a PHP application and not using any PHP library.
> > I have successfully received oauth_token and oauth_verifier in the
> > callback url.
> > Now, how do I use this authentication to retrieve user information and
> > perform other API requests.
> > Thanks in advance!
> > --
> > Twitter developer documentation and resources:http://dev.twitter.com/doc
> > API updates via Twitter:http://twitter.com/twitterapi
> > Issues/Enhancements Tracker:http://code.google.com/p/twitter-api/issues/list
> > Change your membership to this 
> > group:http://groups.google.com/group/twitter-development-talk
> --
> Adam Green
> Twitter API Consultant and Trainerhttp://140dev.com
> @140dev

Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 

Reply via email to