|
|
| |
1. Twitter api an get/search |
|
Reply |
|
|
 Jaap Moolenaar | 2012-11-01 17:07:53 |
Using your default twitter configuration I am able to login and do POST request, if I however use get/search (and sending query string) for instance I get a "Could not authenticate you" (32) error from the API.
I reckon it's in the sending of the oauth header.
When I disable authorization_header for the Twitter server, all seems to work fine.
I noticed you updated the class, and added "url_parameters". It could be that this fixes the errors. I will try and see whether this is true. Sorry in advance if it turns out to be ;) |
| |
2. Re: Twitter api an get/search |
|
Reply |
|
|
 Jaap Moolenaar | 2012-11-01 17:17:12 - In reply to message 1 from Jaap Moolenaar |
It seems to be an issue still, i now need to disable both "new" options:
$this->authorization_header = false;
$this->url_parameters = false; |
| |
3. Re: Twitter api an get/search |
|
Reply |
|
|
 Manuel Lemos | 2012-11-02 04:21:19 - In reply to message 1 from Jaap Moolenaar |
| Can you tell me the exact API URL and parameters you are using so I can reproduce the problem? |
| |
4. Re: Twitter api an get/search |
|
Reply |
|
|
| |
5. Re: Twitter api an get/search |
|
Reply |
|
|
 Stuart Laverick | 2012-11-29 16:40:42 - In reply to message 4 from Stuart Laverick |
Quick update,
it seems if I use GET I need to set authorization_header to FALSE, but if I use POST I need to set it to TRUE
Thanks
Stuart |
| |
6. Re: Twitter api an get/search |
|
Reply |
|
|
 Manuel Lemos | 2012-11-30 09:09:13 - In reply to message 5 from Stuart Laverick |
Yes, authorization_header should be true and the parameters should always be passed in the URL, but that is the default set by the current class version.
Are you using the latest class version? It should be at least 1.35 but 1.38 is the latest. |
| |
7. Re: Twitter api an get/search |
|
Reply |
|
|
 Jaap Moolenaar | 2012-11-30 15:03:47 - In reply to message 6 from Manuel Lemos |
Hi Manuel,
Upgrading to 1.38 worked for me.
Sorry for the late reaction, I wasn't being notified by the site... |
| |
8. Re: Twitter api an get/search |
|
Reply |
|
|
 Manuel Lemos | 2012-11-30 22:00:58 - In reply to message 7 from Jaap Moolenaar |
| Isn't the site notifying you when this thread is updated? Are you subscribed to the thread? Check the Subscribe link above. |
|