facebook-graph-api

iOS: Post on wall of Selected FB Friends

99封情书 提交于 2020-01-13 04:54:09
问题 Scenario: I would want to share the post to the wall of only selected friends. Prerequisites followed: Out of the entire list of FB Friends, select only the necessary friends and create an Array Steps Tried: Trial 1: Use FBWebDialogs and call method + (void)presentFeedDialogModallyWithSession:(FBSession *)session parameters:(NSDictionary *)parameters handler:(FBWebDialogHandler)handler; In the Parameters dictionary, set value for "to". Works perfectly fine when the recipient is only one.

issue while opening user facebook page by user_link

不羁岁月 提交于 2020-01-13 03:19:05
问题 I am getting this error message while trying to open the facebook page of the user.The strange thing is that if I have a mutual friend with that user the page loads with no problem, but I don't think it's default behavior, otherwise I can't understand the meaning of user_link permission. Facebook has approved user_link permission and I passed App Review. From developer account I changed the API version the app calls to v3.1 . The way I am getting user_link LoginManager.getInstance()

Is it possible to use the Scores & Achievements API from Facebook solely from a native mobile application?

点点圈 提交于 2020-01-12 14:30:14
问题 I'm toying around with the Facebook APIs for a game I'm developing as a hobby project, after reading through the facebook SDK documentation, I'm still a little unclear as to what is required for developing games on the platform. This is what I have : Native iOS application All game data is stored locally (levels, characters, items) I don't have any backend servers, the game is completely client side only. I want to make the game "social" by adding achievements/friends lists, the facebook API

Does the Facebook API allow for automated changes to old post visibility?

前提是你 提交于 2020-01-12 13:00:31
问题 In other words, is there an API that would allow a Facebook user to change their posts (through a 3rd party app), which are older than a specified date, from being visible to the list "Friends" to another one such as "Only Me" or "Close Friends"? People are increasingly adding their professional and acquaintance contacts as Facebook friends. It makes sense to limit the visibility of your posts — to cater to different audiences. Going forward, that's easy as Facebook provides ample controls:

Error: “message”: “Unknown path components: /photos&callback=” code: 2500"

馋奶兔 提交于 2020-01-12 10:20:08
问题 I used the code here: code But this code no longer functions and I need this code for embed the fb album in my site. So when i search about the problem appeared this: "error": { "message": "Unknown path components: /photos&callback=", "type": "OAuthException", "code": 2500 So, if anyone can help me. Thanks 回答1: You're calling <ID>/photos&callback=.... it should be <ID>/photos?callback=... The '?' character should mark the start of the query string parameters, not a '&' 来源: https:/

Error: “message”: “Unknown path components: /photos&callback=” code: 2500"

谁说胖子不能爱 提交于 2020-01-12 10:19:26
问题 I used the code here: code But this code no longer functions and I need this code for embed the fb album in my site. So when i search about the problem appeared this: "error": { "message": "Unknown path components: /photos&callback=", "type": "OAuthException", "code": 2500 So, if anyone can help me. Thanks 回答1: You're calling <ID>/photos&callback=.... it should be <ID>/photos?callback=... The '?' character should mark the start of the query string parameters, not a '&' 来源: https:/

Facebook Messenger Platform: how to get user specific information?

*爱你&永不变心* 提交于 2020-01-12 07:36:08
问题 I'm trying the recent released Facebook Messenger Platform and so far so good. Everything worked well and I was able to create a echo bot. But I'm wondering how I could identify this user that started chatting in my page. For example, when a user started chatting I get a PID user (page specific user id). Making the follow request to Facebook Graph API: GET https://graph.facebook.com/v2.6/{PAGE_SPECIFIC_USER_ID} I discovered that I can just ask for the following fields: first_name,last_name

get Facebook Group Id using identifier or url

ぃ、小莉子 提交于 2020-01-12 07:19:12
问题 I would like to get a facebook group id by using a URL or specific identifier. For ex: http://www.facebook.com/groups/chennaifoodies/ should give group id 194462073956868. Is there way to get the group id by using above URL or identifiers like 'chennaifoodies'? If I tried https://graph.facebook.com/chennaifoodies , then it gives the fan page id. I think 'wallflux' has done a wonderful script, so I need a script like that to get group the id. is there any way to get a group id using graph api

FB.getLoginStatus does not fires callback function

谁说我不能喝 提交于 2020-01-12 07:07:28
问题 I have a difficult problem. Difficult means I searched through the net and StackOverflow as well the whole FBJS SDK documentation and haven't find answer. I am building a Page Tab application where I'd like to let fans to rsvp events. So I have to check if the user is logged in and if it doesn't I have to login. That sounds pretty easy, but FB.getLoginStatus doesn't fires callback function. This is the code excerpt: FB.init({ appId: window.appID, status: true, xfbml: true, cookie: true, oauth

Facebook public feed API

与世无争的帅哥 提交于 2020-01-12 05:48:05
问题 i'm working on project which mostly is a data-mining from social networks, so far, i've done twitter and it have really nice API, which allows me to pick an endpoint and recieve alredy filltered twits as streaming data. Now i'm working on a facebook, and there comes the question: with Graph API i would be able to get public feed of some definite page, but what if i would like to recieve posts from as many people as possible? Does Facebook Public Feed API works as Twitter's, and gives me data