Do I need to create a Facebook app to use Facebook

2019-08-10 07:07发布

I've been reading and re-reading lots of information but I'm still a bit unclear what is required for using Facebook Login in my app to access a non-Facebook related web service. Lots of info and unclear what is still valid today and what not. I need some help.

I'm building a web service on GAE and I have an app iOS and later an Android app as well. I would like to let users log in with their Facebook account to then use my web service (on GAE) through their phone app. My web service and the app does not do anything related to Facebook after that - only piggy-backing on the login to not have to sign up a new account for my service.

Do I need a Facebook app for this at all? Please explain a bit why or why not so I understand how it fits together.

Many thanks!

3条回答
再贱就再见
2楼-- · 2019-08-10 07:18

According to the documentation you should create an app on Facebook , in order to get users to login via Facebook from your IOS app you should have an app on Facebook so the user could give permissions to , and later on if the user wants to delete the app (EX the user does not want the app to fetch his info anymore ) he can go to his Facebook account and delete the app from his apps

查看更多
放我归山
3楼-- · 2019-08-10 07:19

If you want facebook login in your app, then you must have to create a facebook app at https://developers.facebook.com/apps/. Use the users' facebook id, so that it will be convenient to you to keep the track of the user.

查看更多
Summer. ? 凉城
4楼-- · 2019-08-10 07:22

You can use the Google Identity Toolkit which offers federated login including Facebook for websites, as well as for iOS and Android apps.

You just need to register with Facebook as a Facebook developer, create an app in their developer console (which means just registering one, not actually writing a Facebook-specific one) to obtain and cross-register the necessary credentials:

查看更多
登录 后发表回答