Facebook Marketing API Development Mode - facebook

I just added Marketing API to my Facebook app to retrieve leads from a leadgen form. In the Marketing API Settings section it says: Ads API Access Level: development and in details it says App doesn't have Ads Management Standard Access. However, on permissions section it says that I already have standard access to Ads Management Standard. Any help would be highly appreciated.

You need to request advanced access for Ads Management Standard Access and submit your Facebook app for review.
Once approved, your Ads API Access Level should automatically change to "standard".

Related

How to solve the problem with Facebook Login restriction due to violation of the policy

Now, My Facebook Login API has been restrict with the following message from Facebook:
Your app is violating the following Platform Terms or Developer
Policies: Developer Policy 1.2: Build an app that is stable and easily
navigable.Some common violations of this policy include:
Broken Facebook integration (e.g. broken share, like or comment functionality)
Broken user experience in the app (e.g. app has broken links or user interface failures)
I still have no clue what I have done wrong on my Facebook API though.
How can I make a change on Facebook API to solve this kind of problem that causes Facebook to restrict by Facebook Login API.
That may be due to the following reason:
Facebook periodically reviews the websites and applications which are
on it. Your application is in its review process currently. We are
required to test the Facebook login functionality in order to conclude
the review in totality. However, we are unable to do so.
Unfortunately, we have not been able to locate a Facebook integration
(Login, Share, and Like) on your submitted platform. To help us
conclude the review process, could you kindly share the details
regarding the location of a Facebook integration and how to navigate
to it on your website URL.
This review is essential to Facebook as we want to offer the best
experience to users as well as developers like yourself. Please help
us in bringing your application into compliance by working with us.
Alternatively, you could aid us by sending us credentials of a test
user who is already registered and connected to an FB account within
the app. You can get all the information related to creating a test
user here - https://developers.facebook.com/docs/apps/test-users.
Most people get this response in further detail. You can check the Facebook button on the given URL in the Facebook app.
If Facebook button URL is different and the URL mentioned in the Facebook app is different then you should reply to them and explain it.

Why is the Instagram Graph API webhook not working

I am not able to get webhook calls when another user post a comment (with mentions) on another/my media.
Just for testing purposes I set up a ngrok server for my webhook endpoint, which always answers with a 200 and handles the verfication. Before the heavy coding I just wanted to see if the webhook workflow for Instagram is generally working.
I created a Facebook app, an Instagram business account, a Facebook page and linked the page with the Instagram business account. With the information at Webhooks for Instagram I created a page access token with the Graph API Explorer. When I debug the token with the Access Token Debugger, everything looks fine. All needed permissions like manage_pages, pages_show_list, instagram_basic, instagram_manage_comments, instagram_manage_insights, public_profile are there. With the page access token I am able to fetch all informations regarding my linked Instagram business account via the Graph API Explorer.
Also the Instagram product was automatically added to my Facebook app. Test requests, which where send via the app dashboard (Webhooks product), will be received by my ngrok server. But any type of mentions or comments from another or my Instagram account (business or not) on my or other medias will not be received. What am I doing wrong? Do I have to send those comments/mentions from a specific account, since the app is in development mode and there roles in the app?
After speaking with the Facebook support, my confusion has been resolved.
The problem is that the Webhook for the Instagram product does not work without a verified app review. I had been wondering how to record a screencast with my running solution, without running webhooks... Above all, I had wondered why the webhooks in dev mode worked for the product messenger but not for instagram (or others). Apparently, the app review is not about the technical implementation but rather about checking that the implementation complies with the facebook guidelines. Therefor I want to quote the Facebook support:
Messenger does allow page owners and app admins to receive webhooks for their implementations in devmode and is by design. However, this is not the same for instagram or pages. This is just how the product teams have decided to implement it. For app review, you can show a mock process of the flow, using either the test webhook or your own process. The app review is less about technical implementation steps, but just a way to make sure that your app is going to use the permission in a way that follows our guidelines, so mocking the procedure should be fine. The reviewers understand that you do not receive webhooks in dev mode and should take this into consideration.
Consequently, I will now have to submit an app review and for that I have to imitate the webhook.

App Acceptance Process for Facebook Marketing API

I am looking at using the Business Manager API to manage our clients Facebook advertising, including a central billing implementation, and have a few queries.
From what I can gather, to use the Business Manager API, I have to have my App accepted, then request access to the Business Manager API, then open a line of credit.
Can I develop my application in sandbox mode and get access to the Business Manager API?
How long does the process, usually, take to accept a Facebook APP, give access to the BM API and open a line of credit?
Not being able to access the BM API endpoints to manage clients and create ads hampers the development process and the ability to request the Facebook App for review.
Any help on this would be gratefully appreciated.

Facebook Review for API only App

I am working on building Facebook integration from an internal company application to allow for creating Ads on Facebook using their Marketing API. In order to accomplish this, it appears creating an "App" is a necessity to be able to get access to their API. This App will ONLY be used for API communication and should never be needed by an end user on Facebook.
My problem is the App is currently in development mode and I need to submit it for review in order to qualify for a higher level of API access to not be as rate limited on the number of requests. Since this App is only used for API access is there a way to keep it hidden from the general public on Facebook? It should never be needed to be accessed directly from any random Facebook account, only from the SDK we are using interally.

Test mode for Ads API

I want to know - is it possible to add advertising on facebook in test mode? Functions "adcampaign" goes well, but "adgroup" requires a balance . Is this necessary?
Testing the Ads API
Once Facebook has whitelisted your application, you can test the API
calls using the Graph API Explorer tool. The Graph API Explorer
enables you to test almost any query you would like to make to the Ads
API; read the blog post for all the functionality provided. Please be
sure to select your whitelisted application from the "Application"
drop down as well as the ads_management permission in the pop-up
dialog (under extended permissions) when generating your access token.
The API is live, so Facebook does not provide a sandbox where you can
test your code.
For more information see: http://developers.facebook.com/docs/reference/ads-api/
If your app is not whitelisted yet, you can always use similar APIs from simpleapi.launchrock.com
I think there is a sandbox version also.