2011-11-23 43 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調用來更好地服務您。

相關問題