Home

Awesome

exstagram

Instagram v1 API wrapper written in Elixir.

Please note, this is very much a work in progress. Feel free to contribute using pull requests.

Example usage

I made this simple phoenix app to show how to use exstagram!

See it in action on Heroku: https://exstagram-example.herokuapp.com

Here is the code for the above Heroku app: https://github.com/arthurcolle/exstagram_example

To run it yourself, please run the following commands:

Before you can run it yourself, you'll have to configure three environment variables: They are INSTAGRAM_CLIENT_ID, INSTAGRAM_CLIENT_SECRET, and INSTAGRAM_CALLBACK_URL (see exstagram/lib/instagram.ex for usage) Finally, run:

Contributors

Put this in your mix.exs deps section:

     {:instagram, "0.0.4", [github: "arthurcolle/exstagram"]}

See other cool Elixir repos at awesome-elixir

Not on hex.pm yet, but coming soon!

<!-- url = "https://api.instagram.com/v1/users/self/media/recent?access_token=1531139.f18ce1e.1353009936304f85921167c58a591475" case HTTPoison.get(url) do {:ok, %HTTPoison.Response{status_code: 200, body: body}} -> json_body = Poison.decode! body json_body["data"] |> Enum.map fn(x) -> x end -->