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

Learn how error monitoring with Sentry closes the gap between the product team and your customers. With Sentry, you can focus on what you do best: building and scaling software that makes your users’ lives better.

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.

What’s the best way to boost the efficiency of your product team and ship with confidence? Check out this ebook to learn how Sentry's real-time error monitoring helps developers stay in their workflow to fix bugs before the user even knows there’s a problem.

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 }}