I'me using the facebook php sdk to create an audience (works great) and then add app-scoped ids to that audience (appears to work but isn't working). I can send a hundred app-scoped ids to the sdk and get no errors back, but when I go to the facebook dashboard it says the audience is too small.
Is there a way to add users who've liked a post to an audience via their app-scoped ids? We can already get the list of users who've liked a post (this is the source of the app-scoped ids). Or can you only use app-scoped ids with a custom audience if those users have given permission to Facebook somehow?
(I find it frustrating to not know why a user is rejected from an audience.)
Related
I want to update/add a custom audience to already ACTIVE facebook ad campaign. Custom Audience is part of the Adset. I am not able to find the field in Adset which corresponds to custom audience. Also it's possible to do this in Ads manager, is it possible via graph api's that meta provides or java SDK?
I tired going through facebook documentation here (scroll down to Adset heading) couldn't find the field. Also i have all my campaigns/adsets/ads in draft mode so i can't play with graph apis(facebook doesn't return data in apis for status=draft)
This isn't a new question. But the old topics ended in 2016 and I guess there must be a new solution to get the public meta data like profile pictures and follower data of a private instagram account.
The new api has the endpoint: https://developers.facebook.com/docs/instagram-basic-display-api/reference/user but this is only working with the correct userid - how to get this by username?
The old endpoints aren't working anymore and I am thinking about how to cerate a service like: https://www.instafollowers.co/instagram-follower-count with an APP-Token by the graph api or is there another solution to get anybodys instagram information (private and business and creators) account.
Hope for answers. :)
Consider to use thee business discovery API in Instagram Graph API.
Basically just create a facebook page and connect to an instagram business/creator account.
Then you are able to get the other users details by their ig username.
Visit https://developers.facebook.com/docs/instagram-api/reference/user/business_discovery for more details.
I am using facebook graph api to post on my facebook page through gmail, there everything is 100% perfect and i successfully posted all emails to my facebook page
The issue is
After posting on facebook no one can see those posts, neither other page admins, nor the audience who liked the page ( Only i can see those posts)
I created everything from my facebook ID.
Kindly help me to resolve this issue or tell me why is this happening so that i can resolve it and my audience can see those posts on my page.
Thanks in advance
I'm using GraphAPI for posting to a friend's wall but I'm unable to do it.
I'm trying the below link:
http://graph.facebook.com/friendID/feed
Can anyone help me how to post to your friend's wall?
As of february, you can't post content to a friend's wall using the API - see here: https://developers.facebook.com/roadmap/completed-changes/#february-2013
Removing ability to post to friends walls via Graph API We will remove
the ability to post to a user's friends' walls via the Graph API.
Specifically, posts against [user_id]/feed where [user_id] is
different from the session user, or stream.publish calls where the
target_id user is different from the session user, will fail.
You can post links using the FB.ui function w/ the 'to' parameter set to a friend's id, however.
See the following change from 6th March 2013, posted on the list of completed changes in the Facebook Developers' Roadmap:
Removing ability to post to friends walls via Graph API
We will remove the ability to post to a user's friends' walls via the Graph API. Specifically, posts against [user_id]/feed where [user_id] is different from the session user, or stream.publish calls where the target_id user is different from the session user, will fail.
If you want to allow people to post to their friends' timelines, invoke the feed dialog. Stories that include friends via user mentions tagging or action tagging will show up on the friend’s timeline (assuming the friend approves the tag). For more info, see this blog post.
I'm trying to post to wall on behalf of a user (user access token) via the Graph API. The post is successful and I get a api ID for the post. But I can't view it as the posting user.
On my friends wall the post shows up but it are marked in "privacy" settings as "Only you".
Are you able to set some other privacy setting like "Everyone" or "Friends" when using the graph api?
This sure has with facebook privacy settings of personal profile, and can't be set via an API request/post.
The privacy parameter of https://developers.facebook.com/docs/reference/api/post/ can't change this when posting to other than (access token) owners wall.
Note: This privacy setting only applies to posts to the current or
specified user's own Wall. Facebook ignores this setting for targeted
Wall posts (when the user is writing on the Wall of a friend, Page,
event, group connected to the user). Consistent with behavior on
Facebook, all targeted posts are viewable by anyone who can see the
target's Wall.