141
rated 0 times
[
146]
[
5]
/ answers: 1 / hits: 80993
/ 14 Years ago, sat, february 19, 2011, 12:00:00
string dialog_url = http://www.facebook.com/dialog/oauth?client_id= + app_id + &redirect_uri= + Server.UrlEncode(my_url) + &scope= + permission;
ClientScript.RegisterClientScriptBlock(typeof(Page), key, window.open('+dialog_url+','_parent',''););
I use this code for popup permission dialog. When user click allow facebook redirect user to my app in the popup. I need to send code from popup window to parent window then close popup when user click allow.
More From » facebook