Using Open Graph Beta, how do you post that two Facebook users are friends within in an app? - feed

In our app, you can be friends with each other (just like you can be friends on Facebook).
Is it possible to use the Open Graph Beta to post an update in the News Feed, Ticker, and Timeline that a user (who is already authenticated with "Add to Timeline") has "become friends" (action) with another user (object)? It doesn't appear that you can access Facebook profiles as objects, so how would this be accomplished? Or is it not possible?

You could only post that as a normal status update or graph activity feed with hard coded text "John is now friends with Nathan". The Graph API does not currently allow you to tag users so that the posts could be linked to the user account.

Related

Facebook Graph Api: get all ursers tagged in a photo

I'm struggling with Facebook Graph APIs: I'm trying to get all the people tagged in a photo but I only get myself as user tagged (also if there are more users tagged in the photo).
Is there any way to get all people tagged in a photo by Graph API?
Thanks
Stefano
No, there is no way - only users who authorized your App too would show up. If a user did not authorize your App, he will not show up anywhere in any API call, for privacy reasons.

graph api user news feed

by calling /me/feed in graph api i can get feed like my posts or posts that i am tagged in.
How can i get a feed with my friends posts or news that i see in my wall in fb?
i mean feed like the one that i see when i login to facebook
i tryed me/feed with several parameters but no luck
same here
https://developers.facebook.com/docs/graph-api/reference no info :(
i didnt manage to find something useful in facebook graph api explorer
thanks!
How can i get a feed with my friends posts or news that i see in my wall in fb?
You can’t.
That used to be available in the very beginning via the /home edge, but that has since been removed.
There is no replacement. Friend’s posts are only available to your app, if the friend would join your app and grant it permission to read their posts.
(Plus, platform policy says apps should not replicate Facebook “core functionality”. If a user wants their news feed, they can go to Facebook ...)

Facebook Scopes for ALL photos in Graph API v2.0

This is more of a generic question: which combination of scope permissions and endpoints in V2.0 of the Graph API allows an app to access every photo that I either uploaded or that I was tagged in?
In other apps I've seen "this app will receive the following info: your public profile, friend list, email address, photos and videos and your friends' photos and videos."
I only know of user_photos and user_videos, which when I use only returns 60% of the photos that I see when I'm logged into my personal Facebook account.
In browsing these lists in graph explorer, it's not clear which permissions are responsible for "your friends' photos and videos.
Found this bug report on Facebook - https://developers.facebook.com/bugs/701749743226238/

Getting friend's wall post data via facebook API

I have never used facebook API.As part of my research project, I need to get activity data (the posts made, the links shared etc.) of a user's friends. Is it possible to get this data via facebook API? Do i need permission from user only or i need permission from user's friends too for accessing that data? I am assuming that since a user can see wall posts of his friends when he visits his friend's facebook profile, the same thing is possible using the API too.

How to get facebook sponsored stories using API?

Is there any possible way to get sponsored stories in the facebook newsfeed using graph API or any facebook API's.
I am not getting suggested stories thorugh newsfeed API.
https://graph.facebook.com/me/home?access_token=AAA####
Sponsored stories are created by advertisers but fb algorithm decides to whom it needs to be displayed. So I believe, using Fb Ad Api advertisers can get some insights about their sponsored stories. Other then this, there is no way you can get sponsored stories from newsfeed.
What is Sponsored Stories ?
Sponsored Stories are built around user activity. Advertisers simply pay to highlight an action that users have already taken on the social network or within a Facebook-connected app. That action is shown to a user’s friends, either in the sidebar or in News Feed.
Advertisers do not have any creative control over these ad types because they are generated from an organic user action.
The most common Sponsored Stories are “Page Like” stories, but advertisers can sponsor check-ins, offer claims, Likes on individual posts, or any custom Open Graph action.
Companies can also sponsor stories about when users share links from their domain. For example, when a user posts an Amazon link on Facebook, Amazon pays to show that story to more of a user’s friends, as seen to the right.
The goal of Sponsored Stories to get more users to take the same action that a friend has. If a page wants Likes, it can show Page Like Sponsored Stories. If a retailer wants more users to claim an offer, it can show Offer Claimed Sponsored Stories. If a company wants more sweepstakes entries in its custom Open Graph app, it can create Sponsored Stories about users “entering a sweepstakes.”
Most Sponsored Stories can be created through the self-serve ad tool, Power Editor or API, however, Open Graph Sponsored Stories require advertisers to work with a third-party provider that has access to the API.
Checkout this Original Source for more details ( Understanding the difference between Facebook Sponsored Stories, Page Post Ads, Promoted Posts and Marketplace Ads )
I hope this helps !