![Picture of Martin Pitt Picture of Martin Pitt](/graphics/unknown.gif)
Martin Pitt - 2014-12-02 16:35:43
I am getting the following error when trying to post to twitter. I am using the example twitter script.
I have added my client bits (which I know work)
$client->client_id = ' HERE '; $application_line = __LINE__;
$client->client_secret = 'HERE ';
However, on other twitter scripts I have used in the past, i've also been asked to add oAuth keys, but I am not sure where or if I need to with your script??
OAuth client error
Error: it was not possible to access the OAuth request token: it was returned an unexpected response status 401 Response: <?xml version="1.0" encoding="UTF-8"?>
<hash>
<error>Desktop applications only support the oauth_callback value 'oob'</error>
<request>/oauth/request_token</request>
</hash>