Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Instapaper Full API with XAuth – PHP Class

DZone's Guide to

Instapaper Full API with XAuth – PHP Class

· Web Dev Zone
Free Resource

Prove impact and reduce risk when rolling out new features. Optimizely Full Stack helps you experiment in any application.

I’m working my way through a list of projects I have, and currently the Instapaper API is top of my list.

I couldn’t find an easy to use PHP class for authenticating against Instapaper’s Full API using XAuth.

So I downloaded @abraham Twitter OAuth and stripped out all as much of the unnecessary pieces as I could.

I was quickly able to get it up and running authenticating with Instapaper’s Full API using XAuth.

I added two basic methods for:

  • Listing Instapaper Bookmarks
  • Pulling Full Text of Instapaper Bookmark

I will add more methods later for other Instapaper API endpoints.

One thing you need to know is this is only for full READ / WRITE on the Instapaper API.  If you just want to add bookmarks this is not for you, just use the simple API.

I’m moving to extend this class for printing read it later binders for research and other areas, then I’ll come back and add more to this repository.

You can download / checkout on Github.

From http://www.kinlane.com/2011/06/instapaper-full-api-with-xauth-php-class/

With SDKs for all major client and server side platforms, you can experiment on any platform with Optimizely Full Stack.

Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}