问题
I am fairly new to facebook integration. I got to add "Sign up/in with Facebook" option to register new users with my web site. I am following these steps: Server-Side Authentication
1) Which account do I use to test this? Will my personal account be suspended or banned if I use it to play with the api?
2) To test the api, do I have to create test users like this? test users
3) Also, to create test users, looks like I need to authenticate as App Can someone explain why I should authenticate as app to create test users?
4) Sometimes, I get confused by the usage of the word "app". My website is not considered a Facebook app just because I use facebook to sign Up/In my users. Correct?
回答1:
No (if you are doing what you mentioned in the comments)
You don't have to create test users, but it helps to do so. For instance if you are testing wall posting from your app, then it's best to keep your personal profile/timeline clean. When you create an app, you also have the option to create test users in your app's settings page, so you don't need to do it programmatically.
Test users are associated with apps, so probably that's why you need app_access_token. However if you create test users with the ui in your app's settings page, then you don't need to mention any token.
Yes it is considered as one, that's how facebook's graph works, there are connections between external(3rd party) objects(they call them apps, as a generalization, after all your website can be called a web application) and facebook objects like users, pages etc. When you create an app you can see the different types/categories of apps that facebook lets you specify for your app. So it's just a name, nothing to worry about.
来源:https://stackoverflow.com/questions/10309027/sign-in-sign-up-with-facebook-test-users