Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 Python SDK 中执行此操作的调用是什么?
我需要哪部分代码但找不到的示例(这是错误的):
response = AdAccount(id).get_list_of_pages(fields, params)
弄清楚了。business_number是整数形式的 Facebook 业务经理 ID。是带有前缀的ad_account广告帐号。act_
business_number
ad_account
act_
params = {'business': business_number} users = AdAccount(ad_account).get_assigned_users(params=params) pages = AdAccountUser(users[0]['id']).get_pages()