oneclickpocket
oneclickpocket copied to clipboard
Requesting Pocket AccessToken failed
If I try to get an access token I'm getting this error: There was a problem trying to connect this app to Pocket. Please try again. Array ( [output] => Array ( [is_valid] => 0 ) [header] => 403 Forbidden )
I'm using the current version from github of oneclickpocket. PHP Version 5.3.21
I get the same error when I use a wrong consumer key. Could you please make sure you are using the key you created exactly as displayed at http://getpocket.com/developer/apps/ ?
Hi Felix, I've copied the consumer key from pocket. These are ny settings for the application at pocket:
In Development
NAME PLATFORM CONSUMER KEY OneClickPocket Web 15988-......
Well, that would have been too easy a solution. Three more things to troubleshoot:
- Please provide the URL of the page displaying the error. It should start with https://getpocket.com/auth/authorize? (obfuscate redirect-uri and consumer key to protect your data)
- Try using my working installation with your key: http://reader.fxneumann.de/plugins/oneclickpocket/auth.php
- if you want to, you can send me your consumer key by mail so I can rule out it's the key.
Hi, thanks for your help.
- Here is the URL https://getpocket.com/auth/authorize?request_token=&redirect_uri=http%3A%2F%2Frss....de%2Fplugins%2Foneclickpocket%2Fauth.php%3Fconsumer_key%3D15988....%26token%3D
- That works - I can authenticate the app without any error.
- I can sent you the key via mail
Best regards Kuestenjunge
Hm, the URL looks exactly as it should, your consumer key is correct. You can use the access token generated with my installation, it's only connected to your consumer key and therefore independent from my installation.
Something seems to be wrong with submitting the consumer key. I use the Curl extension to post the data – is it enabled on your server, and which version? (If you do not know: put a file phpinfo.php on your server with this contents: "" and open it in your browser. Is Curl listed in the appearing page?)
Hi, curl extension is enabled.
This is the phpinfo output of curl
cURL support enabled cURL Information 7.21.0 Age 3 Features AsynchDNS No Debug No GSS-Negotiate Yes IDN Yes IPv6 Yes Largefile Yes NTLM Yes SPNEGO No SSL Yes SSPI No krb4 No libz Yes CharConv No Protocols dict, file, ftp, ftps, http, https, imap, imaps, ldap, ldaps, pop3, pop3s, rtsp, scp, sftp, smtp, smtps, telnet, tftp Host i486-pc-linux-gnu SSL Version OpenSSL/0.9.8o ZLib Version 1.2.3.4 libSSH Version libssh2/1.2.6
Hi, did you receive my email?