Hi,
in order to receive token from facebook, do:
-
Change settings of your 'Valid OAuth Redirect URIs'
tohttps://nickname.serveo.net/
(URI) -
Open a SSH tunel in your system terminal:
ssh -R nickname:443:localhost:1410 serveo.net
This creates a tunel between your localhost and the aforementioned URL for the OAuth dance.
- Include the redirect URI in the
fbOAuth()
function fromRfacebook
package:
trace('fbOAuth', edit = T)
myapp <- oauth_app("facebook", app_id, app_secret, redirect_uri = URI)
Load the token using the modified function.
Best,
Martin