So I have the app configured as a desktop app. And have the IsDesktopApplication set to true, this code runs in the batch updater to perform the status updates. However, I need to set the session key and make sure that extended permissions are set so I can
perform the update. I would like to get the session key from the database. In order to do that I would have to request permissions and store a session key in the database, so I can use the session key in the batch updater.
When I use the isDesktopApplication = false, from theA website I get an exception: Incorrect signature. I believe this is due to fact that the application is configured as a Desktop application and I am trying to invoke it from a website.
Any ideas about how to fix the signature error?
Also I have used the:
@"http://www.Facebook.com/login.php?api_key=" + fbService.ApplicationKey +
The Canvas Callback Url gets called after the users authenicated via the above link. But my application is configured as a Desktop, so I am confused as what to do here. Why do I have to have a Canvas CallBack URL set here? Like I said above, I need
to be able to request permissions and obtain a session key for a user from a website. Part of the reason why Im thinking I need to use two apps.
Patja, any you could email me some sample code as to how you did this? Doesnt need to compile or anything I just need to get a better idea of how to go about doing this.
Thanks for all your help so far!
Have a great day!