Reputation:
I'm trying to generate some apprequests using the js api + razor mvc in c#. I so far have the following:
FB.ui({
method: 'apprequests',
message: 'Campsite request',
data: '[email protected]('/', '-')&[email protected]('/', '-')'
});
as you can see i'm trying to pass in the ids of stuff and otherstuff so that when the user follows the notification in their facebook page - i can grab these and do some processing from within my canvas app.
Thing is - they don't seem to be in the url or post?
How am i to do this?
I am using the c# facebook sdk also
Upvotes: 0
Views: 1114
Reputation: 38135
They will be "hiding"/encapsulated inside the request itself. Check the request structure at the end of the documentation.
Also I've written a tutorial about handling the requests and best uses of the data
parameter here. It's written in PHP but the approach should be clear enough to follow.
Upvotes: 1