facebook-app-requests

Facebook Android SDK, graph api >3.2 and 4.0 sending app request issue

元气小坏坏 提交于 2019-12-09 23:39:19
问题 I am trying to send app request to my facebook friend after authentication by using the following code snippet. public void sendApplicationRequest(final List<String> userIdList, final String message, final String title, final int requestCode) { final Bundle parameters = new Bundle(); parameters.putString("title", title); parameters.putString("message", message); parameters.putInt("requestCode", requestCode); parameters.putString("frictionless", "1"); String to = getListOfUsersAsString

Send Facebook App Request/Invite using Graph Api

混江龙づ霸主 提交于 2019-12-09 18:32:12
问题 I have the following code that would get ur friends list using graph api function getFriendsList(){ $response = $this->api('/me/friends'); return $response; } This returns friends id and name. using graph api I then execute this code in my joomla module: $fbClient = JFBConnectFacebookLibrary::getInstance(); $fbUserId = $fbClient->getUserId(TRUE); //If FB User if($fbUserId){ $f_list = $fbClient->getFriendsList(); after i get the array i display the firends picture foreach ($f_list as $friend)

facebook app request notification not showing up in Facebook iOS app for mobile web app

偶尔善良 提交于 2019-12-07 10:25:09
问题 I have a Facebook app that is configured as Facebook canvas app and a website with site and mobile site URLs When the app sends apprequests (invitations) they only show up in the recipient's notifications in the desktop browser and not in the Facebook iOS app. This makes no sense to me as the app does support play on mobile as it has a mobile web url and so the notifications should appear in the Facebook iOS app. How can I ensure my app requests show up in the Facebook iOS app? Am I missing

How to send Facebook apprequests/notifications with custom message parameter?

时光毁灭记忆、已成空白 提交于 2019-12-06 12:13:09
问题 I'm currently developing a Facebook canvas app in which I let the users invite others to use the app, pretty standard stuff. For this I'm using the FB.ui method of the JavaScript SDK. FB.ui({ method: 'apprequests', title: "Title", message: 'Custom Message', to: UserIDs }); Which currently renders this UI dialog. See this image (notice the Preview section with standard invite message): The invited user then receives the standard message: USER_NAME sent you a APP_NAME request . However, as it

Facebook returning error '(#200) Requires extended permission: publish_actions' even after getting 'publish actions' permission approved

我是研究僧i 提交于 2019-12-05 19:26:46
Hi I got ' publish_actions ' permission approved for my Facebook App. But when any user accessing this app, it is not prompting for 'post on your behalf on Facebook' permission. Unless this when any user try to comment on Facebook using this app, Facebook returns error stating: '(#200) Requires extended permission: publish_actions' OR 'The remote server returned an error: (403) Forbidden'. Can any one please help me in this? Thanks in advance. This error is thrown when you are using publish_actions permission without review. For testing purpose you can always make a test user in Roles column

facebook app request notification not showing up in Facebook iOS app for mobile web app

非 Y 不嫁゛ 提交于 2019-12-05 17:39:22
I have a Facebook app that is configured as Facebook canvas app and a website with site and mobile site URLs When the app sends apprequests (invitations) they only show up in the recipient's notifications in the desktop browser and not in the Facebook iOS app. This makes no sense to me as the app does support play on mobile as it has a mobile web url and so the notifications should appear in the Facebook iOS app. How can I ensure my app requests show up in the Facebook iOS app? Am I missing some kind of configuration? I had the same issue, but after adding a "Store ID" in the FB iOS Platform

Facebook fan page app pass string to app_data and retrieve

ぃ、小莉子 提交于 2019-12-05 08:07:10
问题 Hi i have a multiple page facebook fan page app in asp.net c#. how do i set and retrieve that app_data querystring? is this part of the signedrequest or the actual url of the fan page? will there be cross domian issues in getting this in safari and ie? i can get the signed_request using the following: if (!string.IsNullOrEmpty(signedRequest)) { dynamic SignedRequestData; var DecodedSignedRequest = FacebookWebContext.Current.SignedRequest.Data; SignedRequestData = DecodedSignedRequest so

Facebook Android SDK, graph api >3.2 and 4.0 sending app request issue

左心房为你撑大大i 提交于 2019-12-04 20:07:23
I am trying to send app request to my facebook friend after authentication by using the following code snippet. public void sendApplicationRequest(final List<String> userIdList, final String message, final String title, final int requestCode) { final Bundle parameters = new Bundle(); parameters.putString("title", title); parameters.putString("message", message); parameters.putInt("requestCode", requestCode); parameters.putString("frictionless", "1"); String to = getListOfUsersAsString(userIdList); if (to != null) { parameters.putString("to", to); } activity.runOnUiThread(new Runnable() {

Facebook AppRequest handle on unity3d game

北城余情 提交于 2019-12-04 14:10:43
I am trying to make a game in Unity3D with new facebook unity sdk. I am able to send an AppRequest to the friends in my list. But my doubt is, after my friends has downloaded the same game, how can I communicate with friends using the AppRequest. For eg. If I am sending a "Life" to the friend, my friend should see a "Life" sent from me in his game. his "Life" counter should get incremented by 1 (life++). Same thing with "Ammo" can be done. Sender : How to differentiate the "Life request" and "Ammo Request". Receiver : In game, how to get that request and differentiate it, so that "Life" or

Send Facebook App Request/Invite using Graph Api

最后都变了- 提交于 2019-12-04 11:30:19
I have the following code that would get ur friends list using graph api function getFriendsList(){ $response = $this->api('/me/friends'); return $response; } This returns friends id and name. using graph api I then execute this code in my joomla module: $fbClient = JFBConnectFacebookLibrary::getInstance(); $fbUserId = $fbClient->getUserId(TRUE); //If FB User if($fbUserId){ $f_list = $fbClient->getFriendsList(); after i get the array i display the firends picture foreach ($f_list as $friend) { for($i = 0; $i < count($friend); $i++) { echo '<img src="http://graph.facebook.com/'.$friend[$i]['id'