开发者

Is it possible to create a facebook app programatically?

开发者 https://www.devze.com 2023-03-26 05:11 出处:网络
I\'ve been looking through the documentation regarding facebook\'s user \'accounts\' object, which can be used to tell you all the apps and pages a certain user administrates via a get request.

I've been looking through the documentation regarding facebook's user 'accounts' object, which can be used to tell you all the apps and pages a certain user administrates via a get request.

However, I'm interested in knowing if you can use a POST request to generate an app. However, making a POST request to '/me/accounts/' in the开发者_运维知识库 graph api with the name and category fields being passed in always results in this:

{
    error: {
        type: "OAuthException",
        message: "(#152) Invalid Page Category",
    }
}

I am unable to find any documentation on valid page categories (having tried pretty much every value I've found in the output from the get-request), and nothing seems to work.

Any ideas?

Daniel


Take a look at this question, which describes the process pretty well: How to programatically create a Facebook application via JS SDK or Open Graph API? (createApplication)

0

精彩评论

暂无评论...
验证码 换一张
取 消