facebook-fql

FQL multiquery from python fails with unicode query

邮差的信 提交于 2019-12-01 12:27:26
Using python 2.6.5 and facebook-sdk 0.3.2 this: import facebook api = facebook.GraphAPI(token) api.fql({'example':u"SELECT uid2 FROM friend WHERE uid1 = me()"}) returns an empty list, but this api.fql({'example':"SELECT uid2 FROM friend WHERE uid1 = me()"}) works. If any of the queries are unicode strings, the result will be [] with no error. Facebook developer support suggested I ask on stackoverflow what's wrong. Their explanation was that since nobody else has reported this bug, that it's probably something I'm doing wrong. So they closed the bug . Thoughts on how to deal with this? It's

Error with FQL query with library 5.4.1

强颜欢笑 提交于 2019-12-01 11:47:41
问题 A few months ago I developed an application to retrieve the counters of my insights Facebook pages. This application works perfectly with the library "Facebook C# SDK" version 5.0.40. Now I want to use the last library version 5.4.1 but my application no longer works. I do not understand why. I use the following code : var fb = new FacebookClient(m_accessToken); fb.GetCompleted += (o, e) => { if (e.Error == null) { dynamic result = e.GetResultData(); // e.UserState contains the 'p_date'

FQL multiquery from python fails with unicode query

女生的网名这么多〃 提交于 2019-12-01 10:23:28
问题 Using python 2.6.5 and facebook-sdk 0.3.2 this: import facebook api = facebook.GraphAPI(token) api.fql({'example':u"SELECT uid2 FROM friend WHERE uid1 = me()"}) returns an empty list, but this api.fql({'example':"SELECT uid2 FROM friend WHERE uid1 = me()"}) works. If any of the queries are unicode strings, the result will be [] with no error. Facebook developer support suggested I ask on stackoverflow what's wrong. Their explanation was that since nobody else has reported this bug, that it's

Trying To Read Friends Links in Facebook Using FQL: Why do some friends return an empty set?

故事扮演 提交于 2019-12-01 09:27:51
When trying to find friends of mine that also use this app and have links from a specific site, I'm getting no results from some friends, but it works great on others. If I use the Graph API Explorer, doing something as simple as /friendid/links returns an empty set. However, I can go to their wall and see links and they have the read_stream permissions granted to my app. Of note, they appear to have a different Privacy Settings experience as well (completely different set of screens). Anyone ever seen this? How can Facebook be granted permissions, but not really get them? It's all to do with

Facebook API limits

泪湿孤枕 提交于 2019-12-01 08:42:36
I'm using the Facebook Graph and FQL API from an application (OAuth authenticated). I've been unable to find anything about rate limiting/throttling in the documentation. Normally, I'd expect some kind of limit in class/user... Looking in at the Facebook app page Insigths -> Diagnostics: PI Throttling None during specified period. API Throttling Warnings None during specified period. Feature Limits Feature limit per user, per day Requests 1.0 20 Which indicates some kind of throttling may be used. Anyone got more info on this? I don't really know any hard limits either, but for graph data

unified_thread still not open for public?

亡梦爱人 提交于 2019-12-01 08:27:59
According to Facebook they released their new messaging system way back, http://developers.facebook.com/blog/post/591/ From the Blog: Apps should move to the new messaging Graph API endpoints and messaging FQL tables ('unified_message' and 'unified_thread'). We will be formally deprecating the old messaging REST APIs, Graph APIs and messaging FQL tables at a date to be announced in the future. But I still getting the "must be a developer". Is this just me, or does this work for anyone? I'll try to use unified_thread table from FQL. Facebook suggests to move to that table, but it's still not

Facebook Graph API and FQL like count on photo's both incorrect?

人盡茶涼 提交于 2019-12-01 07:01:03
问题 Hey all, I've made a facebook application for a contest, which allows users to upload their photo. Once uploaded, the photo gets posted to a dedicated album on their profile. Once the photo is there, the users should collect as many likes as possible. Currently i have tried both the Facebook Graph API and Facebook FQL to retrieve the amount of likes, but the retrieved likes don't always match the likes on a users profile. Some users claim to have more then 200 likes, yet the API only returned

Trying To Read Friends Links in Facebook Using FQL: Why do some friends return an empty set?

最后都变了- 提交于 2019-12-01 06:13:35
问题 When trying to find friends of mine that also use this app and have links from a specific site, I'm getting no results from some friends, but it works great on others. If I use the Graph API Explorer, doing something as simple as /friendid/links returns an empty set. However, I can go to their wall and see links and they have the read_stream permissions granted to my app. Of note, they appear to have a different Privacy Settings experience as well (completely different set of screens). Anyone

unified_thread still not open for public?

微笑、不失礼 提交于 2019-12-01 05:29:38
问题 According to Facebook they released their new messaging system way back, http://developers.facebook.com/blog/post/591/ From the Blog: Apps should move to the new messaging Graph API endpoints and messaging FQL tables ('unified_message' and 'unified_thread'). We will be formally deprecating the old messaging REST APIs, Graph APIs and messaging FQL tables at a date to be announced in the future. But I still getting the "must be a developer". Is this just me, or does this work for anyone? I'll

How can I get the list of top 10 artciles shared on Facebook using Graph API or FQL?

空扰寡人 提交于 2019-11-30 23:56:07
On my site, I have Facebook share plugin so that users can share articles on Facebook. Now I want a report of top 10 articles shared on Facebook from my site in last one week or month. I tried using FQL, https://graph.facebook.com/fql?q=SELECT url, normalized_url, share_count, like_count, comment_count, total_count FROM link_stat WHERE url like '%www.indiatimes.com%' order by total_count desc limit 10 But 'like' keyword doesn't work in fql. Please advice. I suggest you to do this way: For example: Articles from http://googledevelopers.blogspot.com (It may not work on all website, so you may