> Thanks Philippe.
> According to the oauth-signpost library, that boolean flag for OAuth1.0a
> should be automatically set if the parameter
> oauth_callback_confirmed is sent back with the unauthorized Request Token.
> Is Scoop.it implementing this?
> On Monday, September 24, 2012 12:23:59 AM UTC-7, Philippe Gassmann wrote:
>> Hi Transcendence,
>> I've run your code during a little wireshark session. It shown me the
>> oauth_verifier is never sent to scoop.it access token retrieve url. This
>> is why you get the 401.
>> Adding PROVIDER.setOAuth10a(**true); at line 48 solve the issue.
>> P.
>> 2012/9/23 Transcendence <john...@gmail.com>
>>> I'm writing a client in Java with the oauth-signpost library.
>>> If I try to do things in anonymous mode, it works, but when I try to get
>>> an access token (examples of how to do it here:
>>> https://github.com/kaeppler/**signpost-examples/blob/master/**
>>> OAuthTwitterExample/src/**TwitterMain.java<https://github.com/kaeppler/signpost-examples/blob/master/OAuthTwitte...>
>>> ).
>>> it fails when I try to get the access token. Getting the request token
>>> works however.
>>> Here is my code: https://github.com/**johnywith1n/scoopit-client/**
>>> blob/master/src/main/java/org/**scoopit/client/ScoopItClient.**java<https://github.com/johnywith1n/scoopit-client/blob/master/src/main/ja...>
>>> The verification code I enter is from the url I get to after authorizing
>>> my app.
>>> So if the authorization url was: https://www.scoop.it/oauth/**
>>> authorize?oauth_token=m-**CP3iLd7BOvDnuNpqwBjLwcIw8J4kJw**
>>> LDI4gQNtMJ0&oauth_callback=oob<https://www.scoop.it/oauth/authorize?oauth_token=m-CP3iLd7BOvDnuNpqwB...>
>>> I get to http://www.scoop.it/oauth/oob?**&oauth_token=m-**
>>> CP3iLd7BOvDnuNpqwBjLwcIw8J4kJw**LDI4gQNtMJ0&oauth_verifier=**
>>> tWLqAuAtkR4LuMz2opOL<http://www.scoop.it/oauth/oob?&oauth_token=m-CP3iLd7BOvDnuNpqwBjLwcIw...>
>>> and I get the verification code as tWLqAuAtkR4LuMz2opOL.
>>> I enter that but I get this error:
>>> Exception in thread "main" oauth.signpost.exception.**OAuthNotAuthorizedException:
>>> Authorization failed (server replied with a 401). This can happen if the
>>> consumer key was not correct or the signatures did not match.
>>> at oauth.signpost.**AbstractOAuthProvider.**
>>> handleUnexpectedResponse(**AbstractOAuthProvider.java:**243)
>>> at oauth.signpost.**AbstractOAuthProvider.**retrieveToken(**
>>> AbstractOAuthProvider.java:**193)
>>> at oauth.signpost.**AbstractOAuthProvider.**retrieveAccessToken(**
>>> AbstractOAuthProvider.java:**108)
>>> at org.scoopit.client.**ScoopItClient.main(**ScoopItClient.java:54)
>>> This pattern works for other OAuth services such as Twitter. Is there
>>> something I'm missing for Scoop.It?
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Scoop.it API Talk" group.
>>> To post to this group, send email to scoopit-...@googlegroups.**com
>>> To unsubscribe from this group, send email to
>>> scoopit-api-ta...@**googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/**group/scoopit-api-talk?hl=en<http://groups.google.com/group/scoopit-api-talk?hl=en>
>> --
>> Philippe - The Scoop.it Team
>> --
> You received this message because you are subscribed to the Google
> Groups "Scoop.it API Talk" group.
> To post to this group, send email to scoopit-api-talk@googlegroups.com
> To unsubscribe from this group, send email to
> scoopit-api-talk+unsubscribe@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/scoopit-api-talk?hl=en
--