javascript - Building a desktop facebook application -


i trying build desktop facebook application display list of friends of logged-in user. trying using facebook javascript sdk. when open html page, following error:

given url not allowed application configuration.: 1 or more of given urls not allowed application configuration. must match 1 of connect or canvas urls or domain must same or subdomain of 1 of application

i understand facebook asking url application called. run opening html file local drive, rather through website. possible do?

there post on facebook (https://developers.facebook.com/bugs/165982843535513/) indicates might not possible. post made 3 years ago. there possible work around currently?

you have build manual login flow:

to use facebook login in desktop app, you'll need able embed web browser (sometimes called webview) within app perform login process.

source: https://developers.facebook.com/docs/facebook-login/manually-build-a-login-flow/v2.3

just in case don´t know, can friends authorized app too.


Comments