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:

https://www.facebook.com/dialog/oauth?client_id=1256802200999873&scope=ads_management&redirect_uri=urn%3aietf%3awg%3aoauth%3a2.0%3aoob&response_type=code

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

Popular posts from this blog

Export Excel workseet into txt file using vba - (text and numbers with formulas) -

wordpress - (T_ENDFOREACH) php error -

Using django-mptt to get only the categories that have items -