I spent a lot of time looking for any clarifications about using oAuth with FB and Twitter. I have to do application which will be using access_token. This token will be used also on diffrent devices to access user account via API. When I'm looking for "how to use access_token" I only finding "how to get token". If I something miss reading documentation please let me know, especially where is example - how to use this token on other devices to access API to send eg. post. I have found Twiiter4j and Facebook4j these libs helped me... I've got this access_token and now what next, how connect to API... I know that it's no possible to get access to Twiiter API - ok, but what about FB and "client side"
please help.
Oauth can be complicated so let me try to explain it simply.
The main thing to stress here is that in order to do the oauth handshake, you need a secret key that you never output to the browser. That means you'll need to implement part of this on your backend. You've tagged this with java
so maybe that means you're using java as your backend, maybe with Google app engine or something. You'll need to find the oauth library for that, and work it out from there.
You can't create the oauth handshake only with frontend code.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.