How to download multiple Facebook ads account data at once with Facebook Ads Insights API URL - facebook-graph-api

With google sheet javascript, I can download one accounts data, but I cannot figure out how to download multiple accounts.
// Builds the Facebook Ads Insights API URL
const facebookUrl = https://graph.facebook.com/v15.0/act_${**AD_ACCOUNT_ID**}/insights?level=${LEVEL}&fields=${FIELDS}&time_increment=1&time_range={'since':'${START_DATE}','until':'${END_DATE}'}&access_token=${TOKEN};
I tried to add 2 accound id together but failed.

Related

Can anyone help me to create instagram integration using touch.facebook.com?

i need help with instagram integration..
so basically i want to create an instagram integration from my website.
I already prepare:
Change my instagram app to business/creator account
Connect to facebook from "edit profile"
Create a page that has similar name with IG acc
and here is the reference that i want to build, https://kol.lemon.cm/settings/connect-social-media
i tried to use the login button from developers.facebook.com, but i dont have any "onboarding steps" like the way the website has it.
And the access token that is generated from that site can successfully getting my instagram data, while from my access token, i can't get any facebook page connected with it
[First step using touch.facebook.com](https://i.stack.imgur.com/t8KZX.png)
[Second step using touch.facebook.com](https://i.stack.imgur.com/P4YJv.png)
[Third step using touch.facebook.com](https://i.stack.imgur.com/MpdPN.png)
if i use fblogin from developers.facebook.com, i dont get any onboarding page like that, which i found it very helpful for my users to complete the instagram integration
I already implement the facebook login, and already got the access token but still cant get the data from instagram integration process.. while in that site, it can give me the data from instagram integration process

How to get media from clients Instagram and Facebook public page on the server side?

I know it's probably a common question but i couldn't find a solution for my specific case. We have created a Facebook App on our Business Facebook account and the client has given us page moderator permission on his page. Using this we have been able to generate a Never expiring page token and download the posts from the clients page. We would like to do the same for the clients Instagram posts.
After reading the GraphAPI docs i have concluded that we need "instagram_basic" permissions from the client but when i choose page in the Graph API Explorer and try adding "instagram_basic" permission the whole API Explorer disappears.
We do not have the Instagram Business account but the client has. His posts are all public and we need only his posts. I'm confused by the docs what tokens can we use. Page token seemed appropriate for Facebook but not for Instagram. This is all downloaded server side and mashed together with the clients other blog posts and similar feeds. There is no App involved so no Facebook, IG login.

What information can I get using Social Media APIs for analytics purpose?

I am working on website analytics tool. I have to show social media information (useful data for analytics) such as profile, mentions etc.
I am able to get Twitter profile and mentions using twitter API (without user authentication). I want similar data from other social media APIs such as Facebook, LinkedIn, Instagram, Google+, Pinterest and so on. I want to read public data (as I am doing with twitter) without user permission.
You can obtain most of a Facebook user's information if the user explicitly grants your app permission to do so. The Facebook Graph API explorer is a good place to start: https://developers.facebook.com/tools/explorer/

Facebook integration with suitecrm

I need facebook feed and Facebook posts in suitecrm. For this, I have done with the following steps.
I have added the facebook app key and secret key in connector and also enabled the modules which i want in connector enable.
After this on suite dashboard i got login button but after login Facebook feed is not appeared. Please let me know is it possible to get feed in suitecrm?
To integrate facebook with suitecrm
check this officail link :
https://developer.sugarcrm.com/2011/03/25/integrating-facebook-with-sugarcrm-how-to-setup-a-facebook-cloud-connector/

Is it possible to query the photos uploaded by "Photo Sync" feature from iOS/Android Facebook app

I am developing a feature to allow user to pick one of his photos from Facebook to do something accordingly.
In fact, I can query all his albums and photos excepting the photos uploaded by "Photo Sync", it is a new feature on iOS/Android Facebook app.
I am wondering if it is possible to query them via graph api for further usage? Any special permission is required?