Fboauth integration with r and facebook

Hi,

in order to receive token from facebook, do:

  1. Change settings of your 'Valid OAuth Redirect URIs'
    to https://nickname.serveo.net/ (URI)

  2. 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.

  1. Include the redirect URI in the fbOAuth() function from Rfacebook 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