facebook-fql

Get facebook total like count of a user

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-13 20:36:57
问题 I am using windows phone 8.1. I am trying to get total like count of a user. I have tried this link link 133231234567890/?fields=likes.summary(true).limit(0) but it returns only id 133231234567890?fields=likes.summary(1) this returns all the likes not total like count. 133231234567890/likes?summary=1 this also returns all the likes with their name , but not what i want. I am testing it on Graph api explorer with my domo facebook id, and i have enabled the required permissions ,but i am unable

facebook api and fql qry post to all my friends

主宰稳场 提交于 2019-12-13 11:23:44
问题 I want to publish All My Friends through apps When I put this code it brings me an error Parse error: syntax error, unexpected T_STRING, expecting ')' in test111.php on line 19 Can anyone help me? Thank you require "../settings.php"; require '../src/facebook.php'; require "../fbaccess.php"; require "web_config.php"; //user data from database $sql = mysql_query("SELECT user_id,user_access_token,user_access_token_expire FROM data_table"); while ($data = mysql_fetch_array($sql)){ $user_id =

Facebook user ID. Which one?

梦想与她 提交于 2019-12-13 09:47:23
问题 I'm very confused... I try to setup a a fql fan page query, and in my search, I found that my user have several ID ... So which should I use ? Maybe more explaination is needed ^^ The first userId that I found is 4101606156331 (https://developers.facebook.com/tools/explorer/145634995501895/?method=GET&path=me%3Ffields%3Did%2Cname&version=v2.0) The second one is 1768286839 (https://graph.facebook.com/chapit.nicolas) Which is the correct one ? And Why there are two ID s ? (maybe more...)

Facebook FQL. Which is the easiest way to get all page changes in one single query ordered by date/time?

流过昼夜 提交于 2019-12-13 08:28:24
问题 I need to monitor one single page and all related activities. This is the result I'm trying to accomplish: 29/10 - User: John - Action: Like - Object type: status - Object id: 123456 29/10 - User: Mary - Action: Comment - Object type: status - Object id: 123343 29/10 - User: Etan - Action: Tagged - Object type: status - Object id: 123537 29/10 - User: Arth - Action: Like - Object type: status - Object id: 123876 29/10 - User: Jack - Action: Post - Object type: status - Object id: 123423 29/10

Change from FQL to Graph API

可紊 提交于 2019-12-13 08:25:54
问题 So I understand that FQL is going to be deprecated soon in favor of the graph API, I read about some graph API examples but yet to find how to do what I actually need. So the thing is simple, I need to select from a page all its albums that are updated in the last 2 weeks, and from the photos inside these albums all photos that have been updated in the last 2 weeks. In FQL it would go something like this (2 queries): SELECT aid, object_id, name, description FROM album WHERE owner=' . $owner .

How do I grab the contents of a Facebook Note using the Graph API?

落花浮王杯 提交于 2019-12-13 07:41:12
问题 I'm trying to access the notes of a page using a long-lived access token I've generated. I tried accessing the following two end-points: https://graph.facebook.com/<note_id>?access_token=<token> https://graph.facebook.com/v1.0/<note_id>?access_token=<token> but both returns the following error message: { "error": { "message": "(#12) notes API is deprecated for versions v2.0 and higher", "type": "OAuthException", "code": 12 } } I tried getting the notes using the access token I generated from

FQL query to fetch all data of a facebook page

一世执手 提交于 2019-12-13 07:35:31
问题 I want to fetch all the accessible data of a facebook page (Only page table data is enough for me now). I only have the page url of that page. After observing some urls i found that the url's can be in the following 2 formats. http://www.facebook.com/ username http://www.facebook.com/pages/ name/page_id Now what i am doing is querying in facebook page table by username(for 1st type of url's) or page_id(for 2nd one's). Here are the questions.. Am i doing anything wrong? Anyone have any better

How to get Number of shares and Likes for a URL using FacebookGraph API

末鹿安然 提交于 2019-12-13 07:25:00
问题 How to get Number of shares and Likes for a URL using Facebook Graph API? There are a few posts answering a similar question but every post offers a different method/fb API. I am using the C# SDK and I guess I should be using the Graph API since FQL is not supported in the latest FB API. This answer looks nice but the poster said the returned value for shares is sum of shares and likes for this URL and I need them separately. 回答1: After Posting post into facebook you will get Post ID

Is the 'is_minor' column in the Facebook FQL user table always NULL?

泄露秘密 提交于 2019-12-13 06:51:23
问题 The Facebook FQL user table has a column called is_minor . The Facebook platform documentation does not indicate that any special Permission is required to access the data in this column. However, all of my attempts to get any data from this column always return NULL. And I've tried everything I can think of... (I have no problem accessing all sorts of other data from other columns in the FQL user table.) Does anyone know... is the is_minor column simply not populated at all? Has anyone had

Making album-viewer like facebook

社会主义新天地 提交于 2019-12-13 06:25:38
问题 I am working on making a album-viewer like facebook. I have made the "setup", you can see the photo, what album its in and so, now I would like to make the "next" "previous" buttons work. I have seen them using preloading while viewing a current, and i wish to accomplish something like that. But first of all, how can I make the "next"? What are the procedure to make the "next" work. With this I mean how should I code it, so it knows which picture is next? I would like to sort it from the date