News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHPMaster.com:
Understanding OAuth - Tweeting from Scratch, Part 2
October 25, 2011 @ 10:09:48

On PHPMaster.com today they're posted the second part of their OAuth series showing you how to use the authentication mechanism to connect to Twitter's API. (Part one is here.

Welcome back to Understanding OAuth - Tweeting from Scratch. This is Part 2 of the two-part series and picks up right where we left off in Part 1 with your returned Access Credentials. Since obtaining the credentials is the grueling part of the process, there's not much more left to do except posting a tweet on the user's behalf. Hopefully you'll find the final steps to be a lot easier to follow and more fun to implement.

They show you how to store the credentials from Part 1 into your session for safe keeping and include a simple form you will use to send a tweet to Twitter. They choose to manually build the HTTP POST request, including the credential headers along with the payload (oauth_consumer_key, oauth_signature, oauth_token, etc).

0 comments voice your opinion now!
oauth tutorial tweet series connection authentication api


blog comments powered by Disqus

Similar Posts

Lorna Mitchell's Blog: PHP REST Server (Part 3 of 3)

ProDevTips.com: Parsing tags with Zend Feed

Stefan Mischook's Blog: Object Oriented PHP Tutorial Updated - Steps 18 - 22

Mike Purcell's Blog: PHP - Reflection Class - Determine Parent Method Signature

VG Tech: Swagger Docs in ZF2 with Examples - Part 2: Swagger UI


Community Events





Don't see your event here?
Let us know!


development community threedevsandamaybe code interview developer application deployment conference zendserver list language release introduction tips laravel framework podcast api series

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework