Facebook广告,将客户页面添加到业务经理 [英] Facebook ads, add customer page to business manager

查看:194
本文介绍了Facebook广告,将客户页面添加到业务经理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想做的是能够从我的fb帐户创建和发布FB广告,然后使用fb api将其发布到其他用户的fb页面上.

What I want to do is to be able to create and publish FB ads from my fb account and publish it on other users fb pages using fb api.

用户可以安装我的应用程序,该应用程序将要求manage_pages + business_management权限以及其他一些必需的权限.(此部分已完成测试应用程序的工作,并且正在运行),然后用户可以在我的平台上制作fb广告并将其中的页面连接到他们制作的广告. 我也可以从平台上创建fb广告,但无法将用户页面连接到我的fb广告.

User can install my app which will ask for manage_pages+business_management permission along with some other needed permissions.(this part is done for test app and it's working) and then users can create fb ads on my platform and connect there pages to the ad they have created. I am able to create fb ads also from my platform but not able to connect users pages to my fb ads.

  1. 我有一个主帐户,其中已连接业务经理+已连接的应用程序(开发模式)+系统用户,测试帐户等.

到目前为止,我已经确定必须将其他fb用户页面添加到我的业务页面中,并根据文档进行操作,首先,我必须使用以下curl请求为系统用户安装该应用程序.

so far I have figured out that I have to add the other fb user pages to my business pages and to do that according to the doc, first I have to install the app for system users by using below curl request.

https://developers.facebook.com/docs /marketing-api/businessmanager/systemuser/v2.10 安装应用程序 系统用户或管理员系统用户必须安装将用于生成令牌的应用程序.这意味着允许该应用代表该系统用户或受管系统用户调用API.系统用户和应用程序应属于同一业务经理 要为系统用户安装应用,您需要执行以下操作: * access_token:管理员用户,管理员系统用户或其他系统用户(如果生成) * business_app:正在安装的应用程序标识 要为系统用户安装应用程序,请发出POST请求,如下例所示:

https://developers.facebook.com/docs/marketing-api/businessmanager/systemuser/v2.10 Installing Apps A system user or an admin system user must install the app that will be used for generating the token. That means to allow the app to call APIs on behalf of this system user or admind system user. Both system user and app should belong to a same business manager To install an app for a system user you need following things: * access_token: of an admin user, admin system user, or another system user if generated * business_app: the app ID being installed To install an application for system user, make a POST request as shown in the example below:

卷曲\

-F"business_app = APP_ID" \

-F "business_app=APP_ID" \

-F"access_token = ACCESS_TOKEN" \

-F "access_token=ACCESS_TOKEN" \

" https://graph.facebook.com/API_VERSION/APP_SCOPED_SYSTEM_USER_ID/applications"

此调用将返回一个布尔结果,指示安装成功.如果不满足任何限制,您将看到相应的错误消息.

This call will return a boolean result indicating installation was successful. If any of the restrictions are not met, you will see appropriate error message.

但它永远都行不通...

but it never works...

我的第一个问题是在继续之前

my first question is before going any further

  1. 是否有可能安装始终处于开发模式的测试应用程序供系统用户使用?

如果答案为否",那么我将使我的主应用程序处于活动状态并提交以供审核,这样我就可以获取主应用程序中不存在的权限,这对我来说听起来不合理,我应该能够在开发人员模式下使用测试应用程序执行此操作.

if the answer is "No" then i'll have make my main app live and submit it for review so I can needed permissions which are not there in main app which doesn't sound reasonable to me, I should be able to do this with test app in dev mode.

但是,如果答案是肯定的,那么请告诉我. 当我尝试时,我总是会收到此错误

but if the answer is yes then please let me know how. When I try I always get this error

错误:需要business_management权限才能管理对象

Error: Requires business_management permission to manage the object

我已将系统用户添加为广告"帐户的管理员 我已添加系统用户以管理员身份测试应用 创建系统用户令牌时,我选中了business_management复选框

I have added system user to Advert account as an admin I have added system user to test app as an admin I checked business_management checkbox when I created the system user token

我们非常感谢您的帮助!

any help is highly appreciated!

ps:如果您认为这不是实现我的目标的正确方法,请纠正我

ps: pls correct me if you think this is not the right way to achieve my goal

推荐答案

好吧,如果有人到这个页面来寻找答案,那该死的很简单,需要特殊特权才能执行此操作,并且您必须联系facebook .就这么简单-_-,仍然没有特权,因此无法添加其他任何内容...

Well if someone comes around to this page for looking for an answer then it's damn simple, special privilege is required to do this and you'll have to contact facebook. it's that easy -_-, still haven't got the privilege yet so can't add anything else...

这篇关于Facebook广告,将客户页面添加到业务经理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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