facebook-graph-api

invite app users to an event using facebook application & notifications

橙三吉。 提交于 2020-01-05 04:34:07
问题 I have read through http://developers.facebook.com/docs/reference/api/event/#invited I am looking for a little clarification. When it states that "create_event" permission is required does this mean that every user who has connected with the application needs to have approved the create_event permission in order to receive the invite, or just the user who is the app owner/manager. Also, is it still the case that you can now successfully send event invites to users of an app and it will appear

facebook like box: Showing sample image instead of feed when user is not logged in on facebook

亡梦爱人 提交于 2020-01-05 04:15:06
问题 I have a facebook page with age restriction (above 21) so I am aware that the like box won't be visible on my website unless the user is logged in on facebook and authenticate that he/she is above 21. My problem is I have a div container in which I am showing the faces along with like button, but that is visible only after the user is logged in on FB. Without it my div container is empty and it looks awful. Is there any way to show a sample image on the div container if the user is not logged

Facebook Graph API - accessing User's friend's posts

守給你的承諾、 提交于 2020-01-05 04:03:58
问题 I am trying to use Facebook Graph API to access a user's friends' posts. I have read many threads discussing this. Some state that it is not possible anymore. Some state that it is possible if the friend of the user is also a user of the app. So now, I am trying this method. User 1 and user 2 are both using my app. (let's call user 1 = X and user 2 = Y ) They have granted "user_posts" permission to my app. Then my app gets an access token from X , on X' s device. (I believe there is no way of

Post on Facebook Page with Application Access Token

自古美人都是妖i 提交于 2020-01-05 03:11:26
问题 I have a facebook page, a facebook app and an administrator facebook account of that page. Now i want to publish a link on that page (i don't care how). Since now i did that by getting a user access token of the admin for my app, then get the page, get a access token for that and then post with the admin on the page via my app. Now the token expired and i read in the documentation that i can: For example, if a user granted your app publish_stream permissions, your app can use an app access

Valid user ID cannot be parsed as fbid in fb:admins

心已入冬 提交于 2020-01-05 03:07:50
问题 I want to specify moderators for page comments using FB comments plugin. According to spec I'd set my fbid to fb:admins meta property, however moderation link did not appear. When I look at my page via FB Debugger it shows an error: Object at URL 'https:XXX' of type 'website' is invalid because the given value '10152336557208977' for property 'fb:admins' could not be parsed as type 'fbid'. Note that 10152336557208977 is my fbid. When I set fb:app_id instead of fb:admins everything works fine.

'Cannot call API on behalf of this user' on FB API call

。_饼干妹妹 提交于 2020-01-05 01:40:43
问题 I am having trouble with facebook API call. I am using Koala for server side api call but recently came into issue making api call. So I tried to bypass koala call and did raw api http call using call but to no avail. When I do curl from development machine it works fine. curl "https://graph.facebook.com/me?oauth_token=my_token It returns profile details, but the same thing done from production machine, it's throwing the exception {"error":{"message":"Cannot call API on behalf of this user",

How can I use publish_actions for testing without review?

你。 提交于 2020-01-04 18:31:29
问题 I need to test score's post to facebook but it requires publish_actions permission. I use the last version of Facebook SDK for Unity3D. Is it possible to get publish_actions permission without review of my application? I tried to get this permission using FB.Login( "publish_actions", LoginCallback ); But FBResult of LoginCallback always returns error (403 forbidden) when I try to post score. I also tried to use test users of facebook sdk to test it but with no luck (the same problem - 403

How can I use publish_actions for testing without review?

£可爱£侵袭症+ 提交于 2020-01-04 18:31:28
问题 I need to test score's post to facebook but it requires publish_actions permission. I use the last version of Facebook SDK for Unity3D. Is it possible to get publish_actions permission without review of my application? I tried to get this permission using FB.Login( "publish_actions", LoginCallback ); But FBResult of LoginCallback always returns error (403 forbidden) when I try to post score. I also tried to use test users of facebook sdk to test it but with no luck (the same problem - 403

Facebook read_stream issue graph api

半世苍凉 提交于 2020-01-04 17:52:22
问题 I created facebook app for my website & To enriches the user's experience i need extended permissions from facebook for my app ( which includes read_stream with some other permission ) , i have submitted the app for reviews with valid description but submission were not approved and i could not find any valid reason for that. I noticed this description in read_stream -- Android and iOS apps will not be approved for this permission. In addition, Web, Desktop, in-car and TV apps will not be

How to get all Facebook friend`s Id at once?

非 Y 不嫁゛ 提交于 2020-01-04 14:16:08
问题 Earlier when I open graph.facebook.com, I can get the ID's of all the friends of mine at one place but now I am getting redirect to another developer page. I want to know whether any method still left by which I can get the friend's ID at once. I know that graph.facebook.com/username feature, but I want to have all at once. 回答1: Here is an example using the facebook-php-sdk that will return the id number for all your friends from within your application: include_once('facebook-php-sdk/src