登录/注册Facebook-测试用户 [英] Sign in/Sign up with Facebook - test users

查看:112
本文介绍了登录/注册Facebook-测试用户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对Facebook整合还很陌生.我必须添加使用Facebook注册/登录"选项,以便在我的网站上注册新用户.我正在按照以下步骤操作:服务器端身份验证

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)我使用哪个帐户进行测试?如果我将其用于api,我的个人帐户会被暂停或禁止吗?

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)要测试api,是否需要像这样创建测试用户?测试用户

2) To test the api, do I have to create test users like this? test users

3)另外,要创建测试用户,看起来我需要通过App身份验证有人可以解释为什么我应该通过应用身份验证来创建测试用户吗?

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)有时,我对"app"一词的使用感到困惑.我的网站不仅仅因为我使用Facebook来注册/登录我的用户而被认为是Facebook应用程序.正确吗?

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. 否(如果您正在做注释中提到的事情)

  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.

测试用户与应用程序相关联,因此可能是这就是为什么您需要app_access_token的原因.但是,如果您使用应用程序设置页面中的ui创建测试用户,则无需提及任何令牌.

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.

是的,它被认为是一种,这就是facebook的图的工作方式,外部(第三方)对象之间存在连接(它们归纳为应用程序,作为概括,毕竟您的所有网站都可以称为网络应用程序)以及Facebook对象(例如用户,页面等).创建应用程序时,您可以看到Facebook允许您为应用程序指定的不同类型/类别的应用程序.所以这只是个名字,不用担心.

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.

这篇关于登录/注册Facebook-测试用户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆