Facebook login hangs at “XD Proxy” when page is installed via Chrome Web Store

后端 未结 8 2388
长情又很酷
长情又很酷 2021-01-31 06:25

The created the following web application:

http://www.web-allbum.com/

I also added it to the Chrome Web Store:

https://chrome.google.com/webstore/detail/

8条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-31 06:40

    Could you call a javascript redirect to get permissions then redirect back to the http://www.web-allbum.com/connected uri?

    I described this method in detail here -> Permissions on fan page

    EDIT:

    The method I demonstrated before will be deprecated when OAuth 2.0 comes into the requirements.

    Here is the code, adapted for OAauth 2.0 (response.session is replaced with response.authResponse)

    Just tried and tested, worked fine in chrome.

提交回复
热议问题