Twitter Authentication (OAuth) Class (Social Networking)

Twitter Class is PHP based class that simplifies user authentication on twitter. As we know, twitter these days (exactly on 31 august 2010) has deprecated the old version of authentication called “Basic Authentication” and since then all request must be authenticated with OAuth system.

“OAuth is a simple way to publish and interact with protected data. It’s also a safer and more secure way for people to give you access. We’ve kept it simple to save you time.”
? OAuth web site.
If you are courious to know more about the OAuth authentication system please visit – http://www.oauth.net and you will learn more techniques about implementing this system.

By using this PHP class you are able to fetch twitter user infromation about profile, friends, statuses and statuses of friends with extra details that tiwtter offers with it’s own API . Also you can post statuses and delete them by using two-four lines declaration for each operation. The class itself is simply to understand and presents to you functions list that are very easy to use.

As another feature of this script is User Authentication via Twitter. This is similiar to Facebook Connect but instead of using Facebook Accounts, someone preffers to integrate the twitter system to he’s company web site or personal site.
The best of this feature is because it requires only ONE -LINE-DECLARATION to apply this system and everything is connected with Twitter. You can view how this system works and see the source code of Example 5

Warning: By the time, Twitter may update it’s own API and can cause issues that won’t let this script work normally, and I will upload new versions of this script, which you can download from your account at CodeCanyon (free of course).

Download Twitter Authentication (OAuth) Class (Social Networking)

Leave a Reply

Your email address will not be published. Required fields are marked *