Delivering the best Add-Ons in more than 37 languages.

中文(简体), English, हिन्दी/हिंदी, Español/Castellano, العربية, Русский язык, Français, 中文 (台灣), বাংলা, Bahasa Indonesia, اردو, Português, Deutsch, Bahasa Melayu (بهاس ملايو‎), 日本語 (にほんご), فارسی, Italiano, తెలుగు, Türkçe, ગુજરાતી, Język polski/polszczyzna, Tiếng Việt, ಕನ್ನಡ, Українська мова, ไทย
PHP Scripts / Social Networking

Twitter Authentication (OAuth) Class

— Add-On to

Subscribe to our feed to stay up to date!

New! Follow us as you want it!

Twitter Authentication (OAuth) Class - Item for Sale


Ad: Bluehost hosting

Follow twitter Follow Theme Forest Follow dribbble Contact

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.netand 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 (free of course).

Other components in this categoryAll components of this author
CommentsFrequently asked questions and answers


20 September 10

Last Update:
20 September 10

Compatible Browsers:
IE6, IE7, IE8, Safari, Opera

Software Version:
PHP 5.x, PHP 5.0 - 5.2, PHP 5.3, jQuery

High Resolution:

Files Included:


authentication, oauth, twiiter, twitter connect, twitter profile