invite

AS3 API: Deleting App Invites

廉价感情. 提交于 2019-12-04 23:17:06
I'm using the ActionScript-Facebook API for my project. Facebook now leaves it up to us to delete app invites once they are used. In their documentation, they have a JavaScript snippet to do what I need to do: FB.api(requestId, 'delete', function(response) {console.log(response);}); Cool. The AS3 API call is like such: Facebook.api(referID, callback, "POST"); For the life of me, I'm not sure how to work this. I've tried: Facebook.api(referID, function(){trace("callback");}, "delete"); Facebook.api(referID, function(){trace("callback");}); Facebook.api(referID, {access_token:accessTokenString},

Ruby on rails: Devise, want to add invite code?

試著忘記壹切 提交于 2019-11-28 16:34:58
I would like to add an invite_code requirement for users to sign up. Ie. in addition to requiring them to specify an email/password combo, I want an additional field :invite_code. This is a temporary fix so that non-wanted users cannot login during a given alpha period. I'm confused since Devise doesn't add controllers. I'm sort of familiar with the concept of virtual attributes, and it strikes me that I could add a :invite_code to the model, and then just hard code a step now where it says invite code must equal 12345 or whatever for now. Does this make sense with devise authentication? And

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

Ruby on rails: Devise, want to add invite code?

北城余情 提交于 2019-11-27 09:47:31
问题 I would like to add an invite_code requirement for users to sign up. Ie. in addition to requiring them to specify an email/password combo, I want an additional field :invite_code. This is a temporary fix so that non-wanted users cannot login during a given alpha period. I'm confused since Devise doesn't add controllers. I'm sort of familiar with the concept of virtual attributes, and it strikes me that I could add a :invite_code to the model, and then just hard code a step now where it says

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