News Feed
Sections




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

SitePoint.com:
How to Add OAuth Authentication to Your Twitter App
June 26, 2013 @ 11:27:53

In this quick post to SitePoint, they show you how to use the Twitter OAuth library to connect your application with the new Twitter OAuth authentication methods.

Thanks Twitter. Not only have you removed open access to public Twitter timelines, you're expecting developers to contend with cryptic authentication documentation! Many of us simply want to display our own tweets on our own website, but it's obvious Twitter prefers us to use their widgets. Despite the convoluted Twitter instructions, implementing OAuth in your lovingly-crafted API 1.0 application is reasonably straight-forward if you use the libraries provided by talented group of (non-Twitter) developers.

They break it down into a few easy steps (largely made easy because the library does most of the heavy lifting for you):

  • Create your Twitter Application
  • Create an Access Token
  • Download the OAuth Library
  • Modify Your Timeline Fetching Code
0 comments voice your opinion now!
twitter oauth tutorial library example api authentication

Link: http://www.sitepoint.com/twitter-1-1-oauth-php

blog comments powered by Disqus

Similar Posts

DevShed: Benchmarking Applications with PHP

SitePoint PHP Blog: Bringing Unicode to PHP with Portable UTF-8

Timothy Boronczyk's Blog: Anonymous Functions and Closures

HowTo Forge: Multisite CVS Drupal Installation on Ubuntu

The Bakery: Setting up Eclipse to work with Cake


Community Events





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


podcast interview opinion api language community introduction release laravel developer testing code refactor list install threedevsandamaybe series framework unittest symfony2

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