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

Questions regarding Facebook's Graph API's currently latest version, v2.1

Questions regarding Facebook's Graph API's currently latest version, v2.1

21 questions
3
votes
1 answer

fql is deprecated for versions v2.1 and higher

I get an error message as fql is deprecated for versions v2.1 and higher And facebook graph has a minimum version of 2.1. So does this mean that fql is history now. I am trying the following FQL SELECT attachment FROM stream WHERE post_id =…
3
votes
2 answers

How can I upload a photo to Facebook using Haskell?

I am using Happstack, and I am trying to upload a photograph to Facebook using the Facebook Graph API. I can successfully post a message to Facebook. I can use url, however I am trying to do this with the source parameter. I have a ByteString of PNG…
3
votes
1 answer

Facebook API Photo's SharedPosts

I'm trying to get the /sharedposts edge of a photo. This link works in the browser: https://www.facebook.com/shares/view?id=10152429679154254 And when I query the API for 10152429679154254, I get the info about it along with likes and comments, but…
Basil
  • 403
  • 5
  • 14
2
votes
1 answer

Facebook Graph API - Months of Missing Page Posts from /posts

I've searched high and low for an answer to why this is happening with no luck. When pulling and paginating results from a page's /posts, MONTHS of posts are missing. Things I have checked: The user posting on the page has been ruled out. Posts…
2
votes
1 answer

Using FacebookOmniauth in Rails 5

I'm trying to implement Facebook Authentication and I'm stuck. I exactly followed this guide https://www.crondose.com/2016/12/guide-integrating-omniauth-rails-5-facebook-login-feature/ and get this error I, [2017-11-07T00:55:47.114884 #12099] …
1
vote
1 answer

Get object comments with their author

I need object comment list with their authors for extraction statistical information about author and their comments. FB Graph api allow me to get comment list but there no way to get information about comment author.
nagiyevel
  • 397
  • 3
  • 16
1
vote
0 answers

Updating Facebook Graph API to v2.0 or higher

We have developed a Social Media Marketing tool, which we had to update to Graph API v2.0 now. Unfortunately, the v2.0 and higher include some changes, which have a terrible effect on our software. As far as I understand, it's no longer possible to…
1
vote
4 answers

Is Graph API 2.x necessary to upgrade facebook php sdk from version 3.2.3 to 4.0.0

With Facebook Upgrading to Graph API 2.x and the New Facebook Login. Is it necessary to upgrade Facebook php SDK 3.2.3 to 4.0.0? If it is not, how can I make change for Graph API 2.x base on PHP SDK 3.2.3? Thank you, Griffin
1
vote
2 answers

Facebook API - getting a token that never expires

i would like to generate a token that will never expire. I have the "manage_pages" permission, and if the user has a "fanpage" the token will never expire. But if the user doesnt have any fanpages created, the token will expire after 2 months. I am…
ITrun90
  • 23
  • 4
1
vote
2 answers

Facebook Graph API 2.1 feed attachments

According to Facebook Platform Changelog /v2.1/{post-id} will now return all photos attached to the post: In previous versions of the API only the first photo was returned with a post. This removes the need to use FQL to get all a post's…
1
vote
2 answers

Determining if two app using users have any mutual friends in Graph API 2.0/2.1?

I want to determine if two users (both using my app) have any mutual friends in common. The names/data of the users are irrelevant, the number of the mutual friends is irrelevant. I just need if two people have any friends on Facebook in common or…
0
votes
0 answers

Facebook graph api - permissions to post to my feed? publish_actions - deprecated

Previously i've used publish_actions permission to post to my feed. So i've used long-lived user token and make request to facebook: $fb->post('/me/feed', array('name'=>'Test','message'=>'Test'), $userLongLivedToken); But after permission…
0
votes
1 answer

Liferay 7.0 Facebook Integration

I'm trying to integrate Facebook with Liferay. I have configured all the necessary settings required (Reference : https://community.liferay.com/blogs/-/blogs/sso-via-facebook). When I click on facebook link from Login Portlet a popup window appears…
0
votes
1 answer

Get recent photos from the Facebook v2.1+ graph api

Facebook's FQL was deprecated after v2.0. The website I'm working on previously had a "Recent photos" feature that populated recent photos using this FQL: var fql = 'SELECT object_id, aid, images, album_object_id, created, modified, position,…
0
votes
1 answer

Facebook Graph API - page_impressions inconsistent on set dateRange?

I'm using Facebook Graph API v2.2 (had this problem on v2.1 as well) and I'm requesting page_impressions through the insights endpoint for a set date range: 01-02-2014 - 28-02-2014. After requesting I print out the impressions from the results, and…
Nyveria
  • 168
  • 13
1
2