简体   繁体   English

测试 facebook 企业账户?

[英]testing facebook business account?

Currently I am in the development phase of a Facebook marketing API integrated app with which I want to access other business's account.目前我正处于 Facebook 营销 API 集成应用程序的开发阶段,我想使用它访问其他企业的帐户。

In this process, I first started with testing the application over my own business and everything is working fine however for the next bit I would like to simulate the access to another "dummy" business to make sure everything will work fine.在这个过程中,我首先开始在我自己的业务上测试应用程序,一切正常,但接下来我想模拟对另一个“虚拟”业务的访问,以确保一切正常。

Knowing the above, I created a test user in the Facebook application and I was trying to create a dummy business with it however Facebook doesn't allow this since the testing user always belongs to my own business.了解上述情况后,我在 Facebook 应用程序中创建了一个测试用户,我试图用它创建一个虚拟业务,但是 Facebook 不允许这样做,因为测试用户始终属于我自己的业务。

To cut it short, how may I create a mock or "dummy" business account which has a different business id than my own and contact the API through that?简而言之,我如何创建一个与我自己的业务 ID 不同的模拟或“虚拟”业务帐户并通过它联系 API?

You can do it by using a Sandbox account .您可以使用沙盒帐户来完成。 It works almost exactally like a normal business account, but with no money spent, and it's only accesable throug API.它的工作方式几乎与普通的商业账户完全一样,但没有花钱,而且只能通过 API 访问。

You can enable the Sandbox account by folowing these steps:您可以按照以下步骤启用沙盒帐户:

  • Go to https://developers.facebook.com/ Go 到https://developers.facebook.com/
  • Click the My Apps dropdown单击我的应用程序下拉菜单
  • Choose an app that you have Administrator or Developer Access to选择您拥有管理员或开发人员访问权限的应用
  • Select Marketing API. Select 营销 API。 If you don't see this option, click + Add Product and add Marketing API如果您没有看到此选项,请单击 + 添加产品并添加 Marketing API
  • Select Tools under Marketing API Select 营销下的工具 API
  • Sandbox Mode appears沙盒模式出现

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM