Is there a way to query the overlap feature as it's possible in the Business Manager via the php sdk for the marketing API?
I'm thinking sending two or more audience IDs of existing audiences and getting the overlap back? I couldn't find anything in the docs so far.
Any help is greatly appreciated!
No. There is currently no php sdk support for this and the API call is not documented.
If you are willing to make direct call you could call graph.facebook.com/v2.10/act_< acctid >/audienceoverlap?access_token=< access_token >&comparison_ids=["< audienceid >"]&pivot_id=< audienceid >
Most likely you'll need the browser's access token for this.
This call is working at api v10.0 but it no longer exist
The old call is
act_id/audienceoverlap?pivot_id=6124596383156&{comparison_ids=["audince1_id","audince2_id"]}
Related
I wonder if it is possible to use a new Instagram Graph API only for hobby purpose(small java application). The main aim is to process only user's data that is currently log in on instagram(not other's user data). Generally I'm a beginner on this field and I try to determine my chances for writing this kind of application, because I've read that sometimes it is hard to get permission to API from facebook, so maybe somebody know how it works in practice?
From what I can tell on the docs site, the Graph API is only used if you're making something for Business Accounts. The docs say that if making something for non-business users, to use the old API.
Reference here: https://developers.facebook.com/docs/instagram-api
I personaly suggest you to use new graph API, because older API support may be disabled in future and might be deprecated in future.
Moreover, Facebook does not give permission easily but you give proper & exact content if allows you and provide great support.
I need to search the list of people on Facebook using the API. I know Facebook has this function but it is on the web platform. I want to take this advantage into my application so I think the API is the only way I can do it.
I also know another application can do the similar thing is the Twigmore (http://twigmore.com). They can search people by location (within its own application). Does anyone know how does they manage this?
Any advice is highly appreciated,
Thanks,
Leo
You specify location and work in the friends API call with friends_location and friends_work_history permissions
graph.faceobok.com/me/friends?fields=location,work
Facebook has officially launched its Facebook Questions. Does anyone know if it's possible to add one of the new Facebook "Question" polls through the Graph API? If so, how?
Thank you very much
They just announced this is available on their blog. To get them, issue an HTTP GET request to the USER_ID/questions endpoint with the user_questions or friends_questions permissions.
Update: they also just announced that you can create questions now via the API.
I've searched the http://developer.facebook.com page for poll related search terms and also online. This yielded no notable results.
It's probably worth making a poll with an external website, most I'm sure are compatible with the Open Graph but will not provide the Facebook interface that you expect on Facebook itself.
This has been deprecated as of Grpah 1.0 - https://developers.facebook.com/docs/graph-api/reference/v2.0/question
I want to invite facebook friends to my app. via some sort of API call whether rest or PHP Sdk, so is there a way to do so. I know about multifriend selector in FBML but don't want that. Please tell that which API can be used to do so? Graph API or any other? I am using PHP so if you know some PHP API call then that is also good.
thanks in advance for assisting me.
You can use the Requests Dialog for invites. This will prompt the user for which friends to send a request/invite to. This is designed to work in iframe apps, no fbml required.
http://developers.facebook.com/docs/reference/dialogs/requests/
I am developing a Facebook application that will use Facebook events.
I want to be able to create and edit event as well as invite users friends to the event.
I prefer to use the new Graph API to handle all connections with Facebook and I many ways I am able too, but, the Graph API cannot send invites.
I saw that the Old Rest API got far more ways to interact with Facebook so I tried to use both systems on the same time but when I send the Access token that I have created with the Graph API a long with a call to the old API it says "Invalid OAuth 2.0 Access Token".
My question is, is there a way to convert the new Graph API access token to be used with the old rest API? Is there perhaps another way to get both systems to work in the same application?
Please help! All input are welcome.
I´d recommend against the old REST api. Support will be canceled sooner or later and then you will have to port to graph api anyway.
To send invites to your app you can use fbml/xfbml. try the http://developers.facebook.com/docs/reference/fbml/multi-friend-selector togehter with the JavaScript SDK as described here: http://www.takwing.idv.hk/tech/fb_dev/jssdk/learning_jssdk_11.html
good luck!