Questions tagged [facebook-graph-api-v2.2]

Facebook Graph API v2.2 builds on v2.1 with a number of improvements — particularly for apps that manage Pages — and includes one of the most-requested features by these apps: the ability to programmatically hide and unhide comments on Page posts.

Facebook Graph API v2.2 builds on v2.1 with a number of improvements — particularly for apps that manage Pages — and includes one of the most-requested features by these apps: the ability to programmatically hide and unhide comments on Page posts.

API v2.2 feature highlights

  • Apps can now programmatically hide and unhide comments on Page posts.
  • A new token_for_business field on the User object makes it easier to identify the same person across multiple apps owned by the same business.
  • There's a new way to manage Page subscriptions for realtime updates via a dedicated subscribed_apps edge.
  • More of a Page's attributes are now editable via the API through the Page node or the settings edge.

For the full list of additions, changes and deprecations in this version please see the Graph API changelog

71 questions
85
votes
5 answers

This app has no Android Key hashes configured. - Login with Facebook SDK

I have problem about login with facebook acount in my application. I read to Facebook Doc. And I did all step as Facebook Doc. First in login with facebook acount in app - SUCCESSFUL ! and than logout in application. I want to login again with my…
23
votes
1 answer

Facebook - "Cannot query users by their username" solution

I am developing an android app. I was using a HttpURLConnection to get profile pictures of facebook users. The URL looks like this: http://graph.facebook.com/?ids=username1,username2,username3&fields=picture&type=square But now, since v2.2 doesn't…
14
votes
1 answer

Multiple Facebook IDs for the same user

i'm crawling user comments and its user ids in public links to build a graph, and i noticed some users have more than one ID. For example, this user have two different IDs: 100000571429851 and 993673107328394. I'm not using different aps to get the…
Johann Gomes
  • 3,813
  • 5
  • 23
  • 25
10
votes
2 answers

Facebook Graph API: Find graph object from post URL

Given the URL of a public Facebook post, how can one find the post object in the FB Graph API? (secondarily, why are so many user feeds empty or nearly empty when accessed through the API?) We would like to be able to comment on or like a post via…
6
votes
2 answers

Get facebook posts and total count of likes for each post

I am trying to get a Facebook page posts with count of comments and likes for each post. For likes there is a parameters I can pass which is summary = true and total_count . I tried this page_id?fields=posts.limit(1).summary(1) but nothing comes…
5
votes
2 answers

How to generate Facebook Marketing API access token to use it in Windows application

I am using Facebook as advertising platform to promote my application on Apple and Google stores. I would like to make windows service which will download daily report(s) about advertising status of my marketing campaign running one Facebook,…
3
votes
2 answers

How does Tinder gets mutual friends despite Facebook API v2.x

This really puzzles me. Many of us know that now with Facebook API v2 you can only get the mutual friends who also gave permission to use your app and have made their list of friends public. Nevertheless, Tinder manages to show not only all (or…
2
votes
1 answer

How do i mention user in my Comment while replying from FACEBOOK GRAPH API?

I am using Facebook graph API, I want to know that how can I mention person in a comment while i am replying to the POST? when i am trying to do it with the format @[ID:NAME] E.g (@[12345:Abc]) it gives me an error like { "error": { "message":…
2
votes
2 answers

In Facebook Graph API - Is LIMIT parameter realy functional?

I'm trying to collect all the posts of my company page with this kind of query https://graph.facebook.com/v2.2//feed?limit=250&fields=id,type,status_type,comments{id},likes{id},shares Problem is that I'm not collecting all posts. I will have a…
2
votes
1 answer

Get Link to a Facebook post from API

I am struggling with getting the link to a Facebook post from an API call like this: https://graph.facebook.com/v2.2/807247516000935/posts?access_token={TOKEN} For most of the posts I can create the link with "www.facebook.com/" + item.getId(), but…
JensJensen
  • 1,017
  • 1
  • 12
  • 25
2
votes
5 answers

Finding mutual friends on facebook

I want to find out mutual friends between two random users using the facebook Graph API v2.2. I read through the documentation https://developers.facebook.com/docs/graph-api/reference/v2.2/user.context/mutual_friends It says, "A valid user access…
2
votes
1 answer

Post to Page as another Page - Facebook API

I'm looking to have my app post to a non-owned Page AS one of the user's owned pages (owned-page Posted to non-owned-page's feed). If you log in to Facebook as your page, you are allowed to do this on the desktop platform. However, my trials (and…
2
votes
1 answer

Can I link a user's app-scoped user id back to his global id?

The facebook api 2.0 has a new app scoped user id. I have an app that is using api 1.0. I know it's backward compatible as in the the old users would still have their original global user id, but once they remove the app from their app page and…
2
votes
2 answers

Should include_headers be placed that way?

Hitting the Facebook graph api with a batched request: curl -F 'access_token=mytoken' -F 'batch=[{ "method":"GET","relative_url":"me?fields=name,first_name,last_name,picture.width(100).height(100),email", "include_headers":"false"}, {…
Mik378
  • 21,881
  • 15
  • 82
  • 180
2
votes
2 answers

facebookConnectPlugin.showDialog is not showing image on share dialog

I have recently upgraded a Cordova app from V2.9 to V3.5, I am trying to share a link to facebook in a cordova app but Dialog is not showing image in the share dialog. Plugin used :…
1
2 3 4 5