facebook-fql

Facebook account delink or deauthorize facebook app and check status of linking from facebook app

给你一囗甜甜゛ 提交于 2019-12-20 03:17:30
问题 My website application having feature login with Facebook login. And for which my app is present on Facebook. Login with facebook is working fine. But application have feature of linking and unlinking facebook account to Facebook app. How to check FB account is linked with specific FB app or not? And how to unlink FB account from specific FB app if linked (On that user's request )? ("Linked" means we select "Allow" to FB app on request) 回答1: With the new Graph there is a documented way to

fql join; can i join two tables with FQL?

你离开我真会死。 提交于 2019-12-18 17:07:46
问题 I have the following FQL I want to join with user table to add name field! How can I do that?After I test making normal left join I got error message (601 join not possible with FQL). How can I join and add name field???? <!DOCTYPE html> <html> <body> <div id="fb-root"></div> <a href="#" onclick="getPhotos();return false;">Get Photos</a> <script src="http://connect.facebook.net/en_US/all.js"></script> <script> FB.init({ appId: 'yourAppID', status: true, cookie: true, xfbml : true }); function

Order Facebook Places results by distance

爷,独闯天下 提交于 2019-12-18 14:47:01
问题 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 API: best way to get like, share, comment count for a page/group post?

主宰稳场 提交于 2019-12-18 10:17:28
问题 What's the best way to get the like, share, comment count for a post? I'm trying via FQL but it doesn't seem to give any data when the URL is a FB post URL: SELECT like_count, comment_count, share_count FROM link_stat WHERE url="https://www.facebook.com/Macklemore/posts/10153256675935268" When I get the post info via the Graph API Explorer: 386050065267_10153256675935268 It gives me the like count and share count and I can get the comment count via 386050065267_10153256675935268/comments

Facebook Graph API Get All Events For Latitude and Longitude

霸气de小男生 提交于 2019-12-18 07:25:12
问题 I'm trying to get All public events for given location. Here is what I'm using now SELECT+name,+pic_cover,start_time,+end_time,+location,+description,venue++FROM+event+WHERE+eid++in(SELECT+eid+FROM+event_member+WHERE+uid+IN+(SELECT+page_id+FROM+place+WHERE+distance(latitude,+longitude,+"40.1811",+"44.5136")+<+50000+limit+0,15000))+ORDER+BY+start_time+desc+limit+0,1500 But there are huge count of events with that location which didn't returning with that FQL query. Is there any chance to get

Retrieve Facebook users that like a URL / web page via Open Graph

你说的曾经没有我的故事 提交于 2019-12-18 03:17:14
问题 Is there a way to retrieve the list of Facebook users that have clicked the like button on an external website? E.g. there is a domain example.com which has been confirmed via Facebook Insights to belong to fbUser1 (using OG meta tags). Somewhere on example.com there is a page with multiple XFBL like buttons, each one pointing to a further specific URL on example.com , e.g. example.com/xyz , example.com/abc etc. What I'd like to get is the list of users that liked example.com/xyz and of those

Facebook online friend

谁说胖子不能爱 提交于 2019-12-17 18:48:14
问题 ive tryed some solution found here to get a list of my friend online: Facebook FQL query to get all users online How to get list of online friends using FQL with facebook API? this is my fql query: $fql = "SELECT uid, name, online_presence, status FROM user WHERE uid IN ( SELECT uid2 FROM friend WHERE uid1 = '".$me['id']."')"; But the presence field is empty for 99% of my friends. I get the presence (active, idle, offline), only for 6/7 friends. the same for the status field. How i can get

How to get list of online friends using FQL with facebook API?

喜夏-厌秋 提交于 2019-12-17 16:51:24
问题 I have got my friends list after getting logging in on facebook using Facebook connect Java script client API. I want list of my friends that are online at given time. 回答1: You can use the online_presence column of the user table, which gives the user's current Facebook Chat status. This isn't a foolproof "is this user online right now" but it does serve the general purpose as such. This column is a string which has one of four possible values: active , idle , offline , or error . Querying

How to list facebook users who like a page or interest [duplicate]

≡放荡痞女 提交于 2019-12-17 06:39:22
问题 This question already has answers here : Closed 6 years ago . Possible Duplicate: Retrieve Facebook Fan Names I wanna get a list of facebook users who like a page or interest. FQL like ' SELECT user_id FROM like WHERE object_id=113970468613229 ' does not work. Is there a way to do this? 回答1: I am Partner Engineer at Facebook so I thought I'd chime in here. The Facebook APIs will not give you the user ID of users who have liked a page or interest, this is to guard the privacy of those users.

How do I search for users in Facebook using certain conditions such as location in Graph API

佐手、 提交于 2019-12-14 02:14:50
问题 I've been experimenting with the Facebook Graph API, and been researching several questions on Stack Overflow and other internet resources, and I can't seem to figure out how to search users in Graph API and see their location as well (assuming their location is publicly available). I've looked at: Facebook Search API - List all users based on location? PHP Facebook FQL: Making queries in the new SDK Search for posts using Facebook Graph Api And although one of them says that you can search