Facebook Authorization for Silverlight
-
Sunday, May 06, 2012 12:37 PM
I have a silverlight application, users can login to the server and chat. How can i integrate facebook authorization to my silverlight application.
I want it to be like this.
My silverlight application, has a facebook login button, when clicked, new popup window opens facebook oauth dialog is shown.
After that facebook returns access token to redirect_uri. I have trouble how to return this access token to silverlight application.
Problem.
I can't use popup browser window on silverlight because it is trouble. I use javascript popup on webpage and call it from silverlight. Then i can't get a handle on popup window, so i can't access accesstoken.
I am using httphandler to get accesstoken, i can send this to my chat server and let user login thru server, but it doesn't seem like a good solution.
Is there any good examples suggestions, for that thanks.
All Replies
-
Sunday, May 06, 2012 3:09 PM
Refer below article with example:
-
Sunday, May 06, 2012 5:06 PM
Thanks for your reply i read it, it has some complications for me,
This uses WebBrowser, it's a cool idea, but WebBrowser is troubled with in-browser mode, i don't know if it is supported, but i need to configure the application full trust, which is very bad idea.
Seeing this, i will use my server and sockets, unless anyone gives me a better solution thank you.
-
Monday, May 07, 2012 10:16 PM
Hi eguneys,
Thanks for your post.
For facebook api related question, i believe you will get better answer at facebook sdk page on CodePlex or GitHub
https://github.com/facebook-csharp-sdk/facebook-csharp-sdk/issues
Best Regards,

