Manage facebook ads api - facebook

I have a task to integrate facebook marketing api with my web application.
The ultimate aim of my web application is provide a capability for my clients to manage ads without login in facebook. So, I'm asking a question: is it possible to create the only one account for all my clients and manage ads by this account? And if I can, does it right way to use fb marketing api?
Anyway, i would appreciate if someone could give me advice about which approach i should use in my case to manage ads without any client-side authorization.

Yes, you can create ad accounts and run ads on Facebook for any number of clients for nearly any purpose* and not require them to log into Facebook. You can create ad campaigns and creative elements (graphics and links relevant to the client's products) using the Facebook Marketing API in your own ad accounts.
If you haven't seen it already, review the Facebook Marketing API getting started documentation and videos https://developers.facebook.com/docs/marketing-apis
*You're still held to FB terms of service so be sure to review requirements for allowed ad content.

Related

Manage data for multiple ads accounts by Facebook Marketing API

my team uses many Facebook Business Manager to manage multiple Ad Accounts. Usually our employees will check the Amount Spent and Bill manually in Facebook sites. But now the number of ad accounts increases, I would like to automate the tasks: syncing data from Facebook to our own database (for high manager to view).
I tried with my own Facebook Account (by my own facebook App), I can get the Amount Spent already. My questions are:
What is the API to get Amount Billed, I searched around but not yet found
Because the number of ad accounts is big, what will be the good approach? (I am thinking of create a sole app and let the advertisers authorize it, And use the token to call Graph API; 2nd way is: each facebook user create their own app, this will not need Facebook to approve the app).
Sorry for my bad English, I am really new to Facebook API, please help. Thank you very much.
You can get Budget,Spend... with Ad Set (lifetime_budget,daily_budget)
https://developers.facebook.com/docs/marketing-api/reference/ad-campaign#fields
and get report Cpc,cpm... with Insight
https://developers.facebook.com/docs/marketing-api/reference/ad-campaign-group/insights/#fields

Instagram API for Non-Business accounts

I want to make a app for Non-Bussiness Instagram accounts.
My only problem is that when I access the old Instagram API (https://www.instagram.com/developer/) they tell me to use the new Graph API, but when I go to the Instagram Graph API reference, they says:
If you are building apps for Instagram Non-Business Accounts, please
use the Instagram Platform API instead.
(Note: The old Instagram API will be deprecated soon: https://developers.facebook.com/blog/post/2018/01/30/instagram-graph-api-updates/)
What can I do to resolve this little problem?
Instagram users can now set their accounts as 'creator accounts'. This allows the same capabilities via the Facebook Graph API as for business accounts, but without actually needing to be a business.
Details here: https://help.instagram.com/2358103564437429

My api.ai bot is NOT communicating with other users on facebook

i made a demo bot (Free version) on Api.ai and integrated it with facebook but the problem is that it doesnt't respond to anyone else except me?
Maybe it is because of the fact that i created the facebook page from my account and generated page access token...
But How can i make my bot to communicate with other users too??
The bot on facebook will only respond to people you specifically add as admins or testers of your bot on developers.facebook.com.
If you want to make it available to anyone, you need to request facebook's approval for pages_messaging on developers.facebook.com and it will take a couple of days.

Can I follow users through Facebook Graph API?

I want to follow users through Facebook Graph API.There is no documentation available.
That is not possible via API – most likely because it would just be abused to much, and have app developers subscribing user to follow people without the user being aware of it.
For the web, there is a social plugin available, so that the user can actively trigger a subscription: https://developers.facebook.com/docs/plugins/follow-button/

Must a Personal Profile be Used to Access the Facebook Graph API?

I'm trying to access Facebook data using the Graph API from an external commercial application. I've created a login for my company and gather that I need to register a Facebook App in order to use the Graph API.
However, I am confused about the Facebook requirement to associate a Personal Profile (a real person) with the Facebook App. Why must a person become connected to my organization's application?
What if I leave the organization? Will the company I worked for need to pick another employee in order to access the Graph API?
Surely I am missing something.
Your question here seems to be about the Facebook API in general and registering an app for it, rather than the Graph API per se. The answer to the general question is that, as with the Twitter API and certain Google APIs, the personal account is used as part of the process of validating that the app is tied to a real person. Luckily, there's a good solution in place for handling when app developers no longer work for a company: another app developer can remove them from the app. You can list someone else on your team as a developer of the app and they will have the same rights to edit it as you do.