-
Notifications
You must be signed in to change notification settings - Fork 329
Description
Hi Matt.
First off thanks for sharing this OAuth implementation and secondly thanks for replying to my twitter message.
I have installed and configured your web examples with my twitter app keys.
When running the 'verify credentials' part, I get a successful response and the latest tweet is shown.
When running the 'auth flow; part, I also get a successful response and am invited to authorise the app with a twitter based authorise button, and am successfully redirected back to the calling page.
However, when trying to search for any keyword:
HTTP/1.1 400 Bad Request
{"errors":[{"code":215,"message":"Bad Authentication data."}]}
When I try to use the photo_tweet part I receive:
HTTP/1.1 100 Continue
HTTP/1.1 403 Forbidden
{"errors":[{"code":189,"message":"Error creating status."}]}
My app is set to read/write permissions, and when using the twitter OAuth signing results curl command form my terminal (GET /1.1/search/tweets.json?q=egg HTTP/1.1) I do get a valid response.
The only thing missing from the config array is the 'bearer' which is left blank (''), simply because I have no idea what to put there. I get the same behaviour running from localhost dev machine and from my online web host.
Have you any idea what I have missed?
I apologise if I am being an idiot and doing something wrong, but I've read through the instructions more than once and can't find anything amiss.
I appreciate your help with this,
Paul.