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

Hasin Hayder's Blog:
Complete oAuth script for Twitter and LinkedIn using PECL oAuth Extension
Apr 05, 2010 @ 17:21:02

Hasin Hayder has posted a few simple files that you can use to make an oAuth connection from your application. In his cases it's been tested with Twitter and LinkedIn.

I’ve found that lots of people are posting in their forum for the code samples. And only very few obscure code examples are available. I’ve found phplinkedin script but that is just too bulky for a simple oAuth dance So here are two files to perform 3 step oAuth Dance for both twitter and linkedin.

The code (either cut-and-paste-able in the post or downloadable here) gives you three files - a configuration and one for the Twitter API and the other for the LinkedIn API. They both rely on the oAuth extension in the PECL library.

tagged: oauth linkedin pecl twitter extension tutorial

Link:


Trending Topics: