useR
useR

Reputation: 3082

failure to get fbOAuth in Rfacebook

I would like to get fbOAuth to access live-long access token using packages Rfacebook

I got app_id and app_secret from this link after registrated an app.
It required me to "Copy and paste into Site URL on Facebook App Settings: http://localhost:1410/"

I am not sure where i should paste the link to. And got error when

> fb_oauth <- fbOAuth(app_id, app_secret, extended_permissions = TRUE) 
Copy and paste into Site URL on Facebook App Settings: http://localhost:1410/ 
When done, press any key to continue...
Error in authorizer(authorize_url) : 
  httpuv package required to capture OAuth credentials.

Thanks.

Upvotes: 4

Views: 4386

Answers (2)

Wesam Nabki
Wesam Nabki

Reputation: 2624

you have package httpuv missing, download it via: install.packages("httpuv") then load it again.

Upvotes: 0

Aashu
Aashu

Reputation: 1287

You have to paste url (http://localhost:1410/ ) in developer app settings

  1. Click on add platform.
  2. Choose website and paste http://localhost:1410/ in URL link.

Include package "httpuv" and this link will probably help you out.

Upvotes: 5

Related Questions