Popularity
2.8
Stable
Activity
0.0
Stable
12
1
4

Programming language: Elixir
Tags: Third Party APIs    

exstagram alternatives and similar packages

Based on the "Third Party APIs" category.
Alternatively, view exstagram alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of exstagram or a related project?

Add another 'Third Party APIs' Package

README

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:

  • git clone https://github.com/arthurcolle/exstagram_example
  • cd exstagram_example
  • mix deps.get
  • npm install (may not be needed, but if you see any node-esque "throw err;" messages, this is why)

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:

  • mix phoenix.server

Contributors

  • Clone repo, i.e. git clone https://github.com/arthurcolle/exstagram
  • Run mix deps.get
  • To give it a try, run iex -S mix

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