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

Bugsnag monitors application stability, so you can make data-driven decisions on whether you should be building new features, or fixing bugs. Learn more.

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.

Monitor application stability with Bugsnag to decide if your engineering team should be building new features on your roadmap or fixing bugs to stabilize your application.Try it free.

Topics:

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}