Getting 200 permission error while creating business manager account through facebook sdk
Digital Marketing
Facebook Marketing API
2 years ago
5
Star Rating
1
Rating
_x000D_
_x000D_
I have created a facebook app which has following permissions.
business_management
ads_management
manage_pages
ads_read
I am creating business manager account using user token which has permission but I am getting 200 permission error. I am using the following API call
FB.api(
'/10208598...40975/businesses',
'POST',
{
"name":"manager account",
"vertical":"ECOMMERCE",
"primary_page":"678031702295134",
"timezone_id":"1"
},
function(response) {
// Insert your code here
});
but i am getting this response
{
message: "(#200) Permissions error",
type: "OAuthException",
code: 200,
fbtrace_id: "CVL2mV+oi6K"
}
please tell me what I am doing wrong.
thanks.
Posted on 16 Aug 2022, this text provides information on Facebook Marketing API related to Digital Marketing. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.
Take Quiz To Earn Credits!
Turn Your Knowledge into Earnings.