Comments (5)
I've just retried in my local environment and my keys, but the same command seems working (also, if I intentionally put dummy in one of the parameter (ex. access_token_secrect
), the error Could not authenticate you.
becomes displayed.
$ ./run_iex.sh
Erlang/OTP 19 [erts-8.2] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]
Interactive Elixir (1.4.4) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> Enum.count(ExTwitter.search("test"))
14
Still I am not able to use the API. I also double and triple checked the tokes and also regenerated them
I'm still wondering it's related to twitter api permission (as per error message), but it's difficult to isolate as keys are secret. Is it possible to verify the key? (possibly try directly with twitter or other language libraries, etc.).
from extwitter.
Thanks for your response. I found some strange irregularities. I'm gonna setup asap a github repo to try to isolate a test case for you.
from extwitter.
I finally found the time to setup for you at https://github.com/faebser/extwitter_test_case.
You can recreate the error by simply running iex -S mix
and then searching for something like ExTwitter.search "foo"
.
If you look into the config.exs file you will find two blocks of configuration with comments telling you which one works and vice versa.
Anyway I already have the a nagging feeling that I just overlooked something and you will tell me soon ;)
I will leave the keys active for a few days.
from extwitter.
Thanks for the repository creation and sorry being late to respond. and I could confirm the behavior using the your repository.
It seems the difference between not working
and working
seems the typo in access_token_secrect
(is this the difference?)
https://github.com/faebser/extwitter_test_case/blob/master/config/config.exs#L38
from extwitter.
hm, how embarrassing. I was sure that they are the same. Thanks a lot.
from extwitter.
Related Issues (20)
- ArgumentError or UnicodeConversionError when parsing request params with a list as value.
- Twitter Streaming API can return multiple portions of tweets in a given chunk HOT 4
- Poison.decode with `keys: :atoms` is unsafe
- search_next_results does not pass on certain opts
- The max_id on the search_metadata is incorrect HOT 1
- Docs do not generate on Elixir 1.8.x HOT 2
- Streaming specs fail on Elixir 1.8.x HOT 1
- Direct Messages no longer working
- How do we get the URL of a tweet after using ExTwitter.update/1? HOT 1
- Replace Poison with Jason HOT 2
- Email field missing from ExTwitter.Model.User HOT 1
- Add LICENSE file HOT 2
- New API 2 paths does not work with request function HOT 3
- Jason.DecodeError occurs for deleted Tweets HOT 4
- Where is full_text / extended_tweet? HOT 2
- Runtime error in OTP 24 HOT 2
- Compilation fails with elixir 1.14 HOT 2
- Twitter api closes down multiple old endpoints at October 31, 2022
- How to call "/users/me"?
- How to get user's last N tweets?
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 extwitter.