Tuesday, 13 August 2013

Twitter API Search With No Backend

Twitter API Search With No Backend

This is a bit of a high level question, but bear with me. I have a Jekyll
site hosted through GitHub Pages, and I'd like to add a page to it that
searches twitter for any recent tweets containing a link.
Searching for tweets containing a link isn't at all difficult. The
difficulty arises from requiring authorization since API 1.1 for
searching. My site, being a static Jekyll site, is entirely client-side.
It has no backend and no database. Obviously there are some pretty hefty
security concerns with exposing the API key and secret on the client-side.
My question is, does anyone have a way around this? Either a way around
authorization entirely, or a way to implement authorization from the
client-side in a secure way.

No comments:

Post a Comment