2011-11-23 42 views
2

我已经在角色部分为我的应用程序设置了一个测试用户,切换到该帐户并访问图形API资源管理器。从应用程序组合框中,我只能看到Graph API Explorer应用程序,从来没有我自定义的Hello World应用程序......为什么会这样?图形API资源管理器和测试用户

另外,如果我在我的测试用户的接入码冲(同时仍登录的主要开发者),我收到以下错误:

{ "error": { "message": "Error validating application.", "type": "OAuthException" } }

回答

4

I've set up a test user for my app in the Roles section, switch to that account and access the Graph API Explorer. From the app combo box I'm presented with the Graph API Explorer app only, never my custom Hello World app... why is this?

测试用户帐户不是(并且不能成为)您的Hello World应用程序的管理员。因此,它无法通过Graph API Explorer访问它。

Also if I punch in the access code of my test user (while still logged in as the main developer), I receive the following error...

图形API浏览器假定您使用它与您自己的帐户的访问令牌,而不是另一个帐户。

如果您想要了解Graph API及其方法,那么Explorer是非常好的资源。如果您试图测试您的应用程序,尤其是测试用户,则可以通过直接进行API调用来更好地服务您。

相关问题