Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

failure to get fbOAuth in Rfacebook

Tags:

r

facebook

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.

like image 271
useR Avatar asked Sep 03 '25 10:09

useR


1 Answers

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.

like image 148
Aashu Avatar answered Sep 05 '25 00:09

Aashu



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!