Redirect to diffrent url when user first use my app

Jul 2, 2010 at 9:48 PM
Edited Jul 9, 2010 at 11:09 AM

hi

when the user is not  in reg to my  app i want to redirect him to this address:

http://www.facebook.com/connect/uiserver.php?app_id=108114479231539&next=http%3A%2F%2Fapps.facebook.com%2Fgadi_test%2F&display=page&locale=he_IL&return_session=0&fbconnect=0&canvas=0&legacy_return=1&method=permissions.request&perms=publish_stream

i need a publish stream permition for my app  in order to write on his wall

the problem is that when the 

FacebookApplication is load its redirect to this url its in the file FacebookServerSession.cs 

 

FacebookLoginUrl = http://www.facebook.com/login.php?api_key={0}&v=1.0;

 

  

 

how can i change this?

thanks