Comments (3)
One possible reason for this error is that :hackney
was not started. You have to start it first, using Application.ensure_all_started(:hackney)
for example.
I've ran into the same problem when using ExAws in a mix task.
from facebook.ex.
Hrm, not sure. To check it I created a new project from scratch and followed the docs and all worked.
Can you add some more details to how you ran Facebook.me
etc?
my example app I did as follows:
$ mix new tryouts
$ cd tryouts
$ vi mix.exs
# added facebook as dependency:
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:facebook, "~> 0.20.0"}
# {:dep_from_hexpm, "~> 0.3.0"},
# {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"},
]
end
$ mix deps.get
$ mix compile
$ vi lib/tryouts.ex
# add Facebook.me("first_name", "TOKEN") to the hello function, then exit vi
$ mix compile
$ iex -S mix
iex(1)> Tryouts.hello
Obviously I get a invalid access token then because I didn't add the necessary config and didn't get a proper access token, but it works without the error you encounter.
from facebook.ex.
Thanks Michael. Today it works great, maybe I missed something yesterdar. Thanks anyway!
from facebook.ex.
Related Issues (19)
- Facebook Page info HOT 1
- Batch support HOT 10
- Error when request to Graph API HOT 8
- module :hmac is not available HOT 4
- Document Getting Started HOT 6
- Ability to upload images/videos HOT 4
- Where do I set the App ID ? HOT 3
- Unable to read env key HOT 1
- Method names should be in snake case HOT 4
- Inconsistent Returns HOT 11
- Configuration sample HOT 2
- "Invalid verification code format." HOT 7
- Ability to add custom params and few other features HOT 1
- Versioned graph url doesn't work with exchanging long lived access token HOT 4
- Looking for a new maintainer HOT 14
- PROPOSAL - Add extendable usage HOT 1
- HTTPPosion version bump HOT 2
- New version HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from facebook.ex.