I’m looking for a solution to get the ad post id, in the page post, when I create an ad creative from the graph api.
I simply cannot get it through the graph api, because it’s linked to the business manager.
Any ideas, how I can get the id from the graph api - or how I can create a page post with the specifications from the ad creative.
I’ve tried almost everything, and I’m just stuck.
I can create the page post manually by copying the id and paste it into the api. But I can’t fetch it from their graph api.. or am I just missing something?
Related
I have successfully added Facebook login functionality to my Ionic 3 application following the Ionic docs and I can receive needed user profile data from Graph API.
Now I can't figure out how to add the check-in option.
Facebook Graph API docs say check-in is now only possible by POSTING the data with the user that has 'publish_actions' rights.
So something like this should work:
this.facebook.api("me/feed?place=123123123123", ["publish_actions"])
(where place is the Place ID of the page I want to check-in)
But it does not work because the api method only creates GET requests and there is no way to set the request method to POST
Also the cordova's Facebook plugin also doesn't seem like it supports posting to Graph API.
I can't find any examples of Ionic check-in code examples or any way of doing this.
Anyone have any experience with this?
I have all the data needed to make this Graph API request - User Id, required permissions and place Id.
Please ask if additional info is required.
I tried getting data using Graph API Explorer code below:
GET request:
page_id/tagged
But I'm getting only few posts. I created 2 new posts from 2 different users and tagged my page. I get mentioned notifications in my page, but it doesn't reflect in graph API.
Is there any other way to track page mentions or Am I doing it the wrong way? Also, I need the user id of the user who has tagged my page.
Could anyone point me in the right direction? I'm confused.
I was using user access token. I used Page access token, now I'm getting the data.
I've started working with the Facebook Ads API and can make an audience, campaign or adset fine over the API.
I'm having trouble when I want to retrieve the ID of something I've created in order to do something with it. Can I get this over the API? Or is it something that I have to on site?
Ideally I'd be able to retrieve the newest audience just after creating it.
I don't think Facebook provide an API id for each api call.
but you can save the api results to your data, and then reuse the data.
I try to extract the 'feed_targeting' field for a created post using Facebook Graph API, but this information is missing when I try to get details of the post. I'm using the API v2.2 and according to the Facebook documentation this information should be there:
https://developers.facebook.com/docs/graph-api/reference/v2.2/post?locale=en_GB.
First of all I created a post on my page and targeted it to a group of people.
Then I generated the Access Code with all permissions and used the Facebook Graph API Explorer to extract the post details.
Facebook correctly retrieves the post details but the information about targeting is missing in the response.
Let me know if I could give you any more information.
I'd appreciate if anybody could point me towards the right direction.
Im trying to use the Facebook graph api on rails to find for a specific post who shared it. Looking through the documentation and the api data it doesn't seem that this information is available for a specific post. I am able to get the likes and comments information, however not the shares.
Would anyone know whether the current Facebook Api gives that information? Thanks
Using Graph API, do a request to graph.facebook.com/POST_ID?fields=sharedposts.
Iterate through the resulting array to get the sharers' identity.
Example in Python here.