-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App only auth #73
Comments
You would do something like:
When called with only two arguments, I'm in the middle of revamping the authentication mechanism, since the latest versions of |
Thanks for the fast response, That's actually what I'm doing using the stream api where my-creds is (make-oauth-creds key secret) which are valid I have an Unauthorized error from the api though. I have another app using the same creds so they must be valid ! |
You can't use app-only credentials on streaming endpoints. See the dev docs for Application-only authentication. And statuses/filter in particular.
I believe you, but I suspect you aren't streaming in this other app :) Twitter's error message could be more descriptive, though it is correct — app-only credentials are "Unauthorized" to use the streaming API. (I don't think it's |
You right ! I didn't even check as I was sure it was using the app only
auth.
Thanks, I don't think it's twitter api responsibility to improve those
error msg either
…On Fri, Feb 17, 2017 at 11:43 PM Christopher Brown ***@***.***> wrote:
You can't use app-only credentials on streaming endpoints. See the dev
docs for Application-only authentication
<https://dev.twitter.com/oauth/application-only>. And statuses/filter
<https://dev.twitter.com/streaming/reference/post/statuses/filter> in
particular.
I have another app using the same creds so they must be valid !
I believe you, but I suspect you aren't streaming in this other app :)
Twitter's error message could be more descriptive, though it is correct —
app-only credentials are "Unauthorized" to use the streaming API. (I don't
think it's twitter-api's responsibility to improve those error messages,
though — at least, not as high priority as many other issues.)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#73 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAqChpWqeYydvlDONpW-4HFjj3uyhLblks5rdiJ1gaJpZM4MEoH4>
.
|
Hello,
I don't understand what should I put in my creds map to make it auth with the bearer token for an app_only auth.
Thanks
The text was updated successfully, but these errors were encountered: