what is redirect_uri not supported error in facebook oauth -
can out of band authentication (oob) facebook specify redirect_uri urn:ietf:wg:oauth:2.0:oob
?
google mentions 1 of options:
https://developers.google.com/identity/protocols/oauth2installedapp#formingtheurl
i trying facebook , using r studio (for running script on remote server).
i error:
the redirect_uri url not supported
when point url:
to authentication code.
how fix this?
note: using package httr
, here'w 2 authentication code looks like:
app <- oauth_app('facebook', 'id', 'secret') sys.setenv("httr_server_port" = "1410/") tkn <- oauth2.0_token( oauth_endpoints('facebook'), app, scope = 'ads_management', type = 'application/x-www-form-urlencoded', use_oob = true, cache = false)
Comments
Post a Comment