facebook-app-requests

how to read facebook signed_request to get user_id

橙三吉。 提交于 2019-12-04 03:24:36
问题 According to Facebook - Authentication within a Canvas Page Document, they say that we will be getting a signed_request which consists a JSON object. Now they say that signed_request can be get through $_POST['signed_request'] I agree its working for me. Now according to them if the user is logged in i will be getting a JSON object value like this:- { "expires":UNIXTIME_WHEN_ACCESS_TOKEN_EXPIRES, "algorithm":"HMAC-SHA256", "issued_at":UNIXTIME_WHEN_REQUEST_WAS_ISSUED, "oauth_token":"USER

Facebook fan page app pass string to app_data and retrieve

爱⌒轻易说出口 提交于 2019-12-03 21:52:22
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 basically on the first page i want to get the signed_reqeuest using the above and then append this to the

Parsing Facebook PHP API Response - Remastered / Recycled 05/02/2015

倖福魔咒の 提交于 2019-12-02 23:29:48
问题 My Array; { "bio": "Testing Facebook Bio -> Stupidly forgot to set whilst trying to fetch this information testing my latest Facebook App!", "movies": { "data": [ { "name": "Night At The Museum", "id": "251922028320619" }, { "name": "Little Nicky", "id": "112378985439799" }, { "genre": "Action / Adventure / Comedy / Family / Sci-Fi", "name": "Back to the Future Trilogy", "id": "141545972523915" }, { "genre": "Stupid", "name": "Jackass", "id": "21295715752" }, { "genre": "Comedy", "name": "Mrs

Not able to see app request post from the default facebook app or browser

核能气质少年 提交于 2019-12-02 22:31:44
问题 I am posting the app request to the Friend's wall. It works fine. It shown great with the PC browser. See below image from PC: Now while I am going to see the same thing from the Android Device then it is not showing the correct post. I am not able to see the Description and the Some text below it. See below image from Mobile: What's wrong with it ? Is this problem with my code? If yes then why I am only able to see it from PC? 回答1: I am posting the app request to the Friend's wall. First of

not able to see app request post from the default facebook app or browser?

拟墨画扇 提交于 2019-12-02 13:12:51
I am posting the app request to the Friend's wall. It works fine. It shown great with the PC browcer. See below Image from PC: Now while i am going to see the same thing from the Android Device then it is not showing the correct post. I am not able to see the Description and the Some text below it. See below image from Mobile: Whats wrong with it ? Is this Problem with my code ? If yes then why i am only able to see it from PC ? Please help regarding this issue. Thanks in advance. I am posting the app request to the Friend's wall. First of all, that’s not really what’s considered an “app

Can't Create Facebook App

不羁岁月 提交于 2019-12-02 00:29:13
问题 First time trying to create a Facebook app. Browsed to https://developers.facebook.com/apps and it had a link for to register before creating a link where you just accept the T&C's. Now it says, "Create an app to start..." But there is no button to click to create app. 回答1: I was having this SAME exact problem just now. I have a verified personal account (email and credit card) and I couldn't see the button. This is what I was getting: I was at my wits end after 5 hours of reading similar

Facebook App Invite, Invite Friends

空扰寡人 提交于 2019-11-29 00:47:20
问题 I switched to Facebook 4.0 in order to implement AppInviteDialog for Android. I followed this reference. The dialog appears, I can select friends, invite them, I get the onSuccess() call, but my friends don't get the invite. I have used the below applink URL: https://fb.me/****412097***** No previewImageURL although I saw my app's image on the dialog. Code: //Inside onCreate - callbackManager = CallbackManager.Factory.create(); mInvititeDialog = new AppInviteDialog(this); mInvititeDialog

App requests successful, but no notification shown

醉酒当歌 提交于 2019-11-27 19:08:42
I am using the normal setup for sending invites through the requests dialogue: FB.ui( { method: 'apprequests', message: "Please add me, I am doing the same, thanks!" }, function(response) { console.log(response); } ); The response is successful, response.to shows multiple ids. So sending these invites works like it should. The problem is that these apprequests are not shown up as notifications like they usually do, instead the only place to find them here . Has the API changed? Looking for answers has given me no results, though I did find this bug report from February 15th 2013. Is Facebook

App requests successful, but no notification shown

ぃ、小莉子 提交于 2019-11-26 19:46:28
问题 I am using the normal setup for sending invites through the requests dialogue: FB.ui( { method: 'apprequests', message: "Please add me, I am doing the same, thanks!" }, function(response) { console.log(response); } ); The response is successful, response.to shows multiple ids. So sending these invites works like it should. The problem is that these apprequests are not shown up as notifications like they usually do, instead the only place to find them here. Has the API changed? Looking for

presentRequestsDialogModallyWithSession does not work, but gives good result

≯℡__Kan透↙ 提交于 2019-11-26 09:09:13
问题 When I use the webdialog for a friendrequest, everything is going fine, except no request or anything is made. The code: NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys: facebookFriend.id, @\"to\", nil]; [FBWebDialogs presentRequestsDialogModallyWithSession:FBSession.activeSession message:NSLocalizedString(@\"FB_FRIEND_INVITE_MESSAGE\", @\"Facebook friend invite message\") title:NSLocalizedString(@\"FB_FRIEND_INVITE_TITLE\", @\"Facebook friend invite title\")