Facebook authentication without login button

后端 未结 6 1220
Happy的楠姐
Happy的楠姐 2020-11-28 21:33

I have followed some Facebook API 3.0 tutorials, including the Login/Logout and the Publish To Feed examples. So the login works this way:

  1. App opens, shows a f
6条回答
  •  夕颜
    夕颜 (楼主)
    2020-11-28 22:06

    You can bypass the login dialog using the Node powered facebook-proxy module. Create your own instance on Heroku using the one-click-deployment button.

    What it basicly does:

    1. Requests an access_token from Facebook
    2. Opens a proxy server using express-http-proxy
    3. Let's you request all endpoints of the API

提交回复
热议问题