On Mon, Feb 18, 2013 at 1:59 PM, Michael Chandler <
[email protected]> wrote:
> you should be able to define a return URL when a user successfully
> authenticates that you host
This is the part that I don't understand. I guess I create a separate
OAuth class page that launches when the user authenticates, but how I get
the code out of the URL? I need the code to send back to Facebook so I can
get an access token.
The other part that is confusing to me is that I had an identical JUnit
test set up to do what you did above, but I'm getting an error:
java.lang.UnsupportedOperationException: Unsupported operation, please
use 'getAuthorizationUrl' and redirect your users there
on this line Token requestToken = service.getRequestToken();
I'd be really interested to see how you implement with LinkedIn as I assume
it will be very similar for my implementation.
Thanks, Mike.
_______________________________________
Stephen Walsh | http://connectwithawalsh.com