mweibel / facebook.ex

Facebook Graph API Wrapper written in Elixir

Home Page:http://hexdocs.pm/facebook/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Document Getting Started

keithbro opened this issue · comments

An example of usage would be really nice, e.g.

Facebook.me("name,birthday,first_name,last_name,address,gender,email", "<your access token>")

Also (and maybe this is obvious to a non-beginner like me), I needed to install httpoison as per the instructions here:

https://github.com/edgurgel/httpoison#installation

Hi Keith,

Example usage: Yes, I agree this would be good. If you have a good example, please feel free to open a PR and add it to the README :)

@httpoison: not sure why you'd need that.. the lib uses hackney as the HTTP library..

Cool will open a PR

Re httpoison, yep it was required for some reason, I googled the issue I was having and found this on stackoverflow - http://stackoverflow.com/questions/31208923/hackney-fails-to-make-request-to-server - added httpoison and the error disappeared

thanks!

hmm..very weird @httpoison.. edgurgel/httpoison#126 seems to recommend updating hackney, will try that.

@httpoison: could you have a look which version of hackney it downloaded? (mix.lock)

Added docs for getting started in the README.