facebook-fql

Getting a High Resolution picture from Facebook API

别等时光非礼了梦想. 提交于 2019-11-30 19:48:53
Facebook FQL API for Photos states the maximum resolution for a photo returned from the API is 960x960: The Photo object has an equivalent src connection. Using photo_src FQL, you can retrieve images with the following dimensions: 960, 720, 480, 320, 180, 130, 75 pixels. However, some images are uploaded at a higher resolution. Sometimes even much higher. When browsing Facebook regularly, you can see these pictures and view their full size. However, I can't seem to find any way to get the original resolution in the API. Is this possible and I have missed something? And if it's not - why?

Is there an API to retrieve Facebook recent activity?

末鹿安然 提交于 2019-11-30 18:24:10
I know there's a Graph api url for getting the recent wall feeds: https://graph.facebook.com/me/feed?access_token=... But how do I get the Recent Activity? Is there any way? FQL (not Graph API) can work too. I don't really care which way I get it. I'm trying to get the RECENT ACTIVITY, which appears as part of the wall. It has same IDs like the standard wall entries have, but they aren't returned in the /me/feed request, because they are treated differently on facebook, and I'm trying to find out a simple way to get them just like /me/feed There isn't a single social plugin or a single API

FaceBook query using FQL

落花浮王杯 提交于 2019-11-30 17:44:47
问题 While fetching: https://api.facebook.com/method/fql.query?query=Select+page_id,page_url,name,pic,website,type,location,fan_count,phone+from+page+where+name%20%20=%22SPA%22 i am getting all exact match results with "SPA" But how to get other which will match "sp" as well. Like when we use like operator in fql i am getting problem. Please suggest me with solution 回答1: here you go: WHERE strpos(lower(name), 'sp') >= 0 回答2: Hence there is no LIKE operator in FQL, you will have to use other

Getting Facebook Events using fql

无人久伴 提交于 2019-11-30 16:35:06
Trying to retrieve facebook events through fql using the query below. I am unable to get venue details other than "id". fql?q=SELECT name,description, pic_small,pic_big, eid,venue,location from event WHERE eid in (SELECT eid FROM event_member WHERE uid = me()) output : { "data": [ { "name": "HappyHour", "description": "Let's have fun !!!", "pic_small": "http://profile.ak.fbcdn.net/static-ak/rsrc.php/v2/yy/r/XcB-JGXohjk.png", "pic_big": "http://profile.ak.fbcdn.net/static-ak/rsrc.php/v2/yn/r/5uwzdFmIMKQ.png", "eid": ......, "venue": { "id": ....... }, "location": "The Crab Pot Seattle" } ] }

How to determine if a Facebook user has uploaded a profile picture or its default?

好久不见. 提交于 2019-11-30 15:00:31
Is there a way to know if a user uploaded an image to the profile or it has the default user picture of Facebook via FQL or somthing else? Love Sharma You can use the Python script below (as not mentioned any programming language) to make it work. urllib.urlopen('https://graph.facebook.com/<PROFILE_ID>/picture?access_token=%s' % access_token).geturl() This will provide you a Facebook profile photo URL. If that URL contains <PROFILE_ID> then it uploads an image. Else the default Facebook image is uploaded. For example, if uploaded image: http://profile.ak.fbcdn.net/hprofile-ak-snc4/195361_

Facebook new sdk - not able to get friends list

☆樱花仙子☆ 提交于 2019-11-30 14:25:19
问题 I am using the new Facebook-sdk and using the hackbook example to get the list of friends using FriendsList.java file. The Friendlist Activity gets killed everytime and I am getting this error in the logcat: 11-18 16:20:51.141: ERROR/JavaBinder(7881): !!! FAILED BINDER TRANSACTION !!!. The issue is reproducible everytime. Note number of friends in the profile are 4500. 11-18 16:19:27.932: DEBUG/Facebook-Util(7881): GET URL: https://api.facebook.com/restserver.php?access_token=**********&query

Order Facebook Places results by distance

故事扮演 提交于 2019-11-30 11:33:25
Does anyone know how to order Facebook places by distance from a search location? Note that I don't want to order results in my client app. I want the Facebook server to provide me with ordered results to facilitate pagination. I always want to append places from subsequent queries to the end of my array. This does not seem possible using the graph API query such as: https://graph.facebook.com/search?q=coffee&type=place&center=37.76,-122.427&distance=1000& .... because there is no way to tell Facebook to order the results. The nearest place may be last in the list of returned results. I have

Facebook JavaScript SDK for FQL with additional parameter

可紊 提交于 2019-11-30 10:26:32
Facebook deprecated FB.Data.waitOn and FB.Data.query and they recommend we use FB.api instead. More info: http://developers.facebook.com/blog/post/561/ This sounds easy enough, but I can't seem to pass additional parameters with my FQL request without getting an error from Facebook. For example, I can successfully do this: FB.api({ method: 'fql.query', query: 'select page_id, name, pic, page_url from page where page_id=' + some_page_id }, function(response){ console.log(response); }); But I'd also like to pass the 'return_ssl_resources=1' additional parameter so that Facebook returns secure

facebook graph api..get friends of friends

萝らか妹 提交于 2019-11-30 09:01:13
I am using the FB graph api to get a list of my friends' friends using: https://graph.facebook.com/<id>/friends?access_token=<token> Now the weird thing is that this works for some of my friends and does not work for some others. Could somebody tell me why this is happening and a possible fix? In cases where it does not work, I get the following message: "Can't lookup all friends of YYYYYY. Can only lookup for the logged in user (XXXXX), or friends of the logged in user with the appropriate permission" And I repeat, I AM ABLE to get friend lists of some of my friends using the above URL. What

how can I get all comments from a url in facebook? [closed]

北慕城南 提交于 2019-11-30 07:34:58
I'm trying to get all the comments of a url that was added to facebook. is this possible? It is possible to get all comments (from Comments social plugin ) associated with URL by issuing next request to Graph API: http://graph.facebook.com/comments?id=URL For example some article on TechCrunch: http://graph.facebook.com/comments?id=http%3A%2F%2Ftechcrunch.com%2F2012%2F02%2F27%2Fyahoo-stabs-facebook-in-the-back-says-pay-for-its-patents-or-get-sued%2F 来源: https://stackoverflow.com/questions/9487831/how-can-i-get-all-comments-from-a-url-in-facebook