This project is read-only.

FacebookLoginUrl

Dec 10, 2010 at 11:21 AM
Edited Dec 10, 2010 at 11:23 AM

how can i change  FacebookLogin Url in my app

i need permition to write on the wall and this api dont do it how cn i do it?

the problem is here:

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

 and i need to add permition to this url please help

Dec 11, 2010 at 4:11 PM

The normal work-flow should be two separate processes.  First the user logs in and then you check if this user granted your application permissions.  If you need the user to extend the permission then you would redirect the user to the extended permissions function.  If you try to do this all at once you might anger the returning users by showing them a permissions screen over and over.

 

Dec 11, 2010 at 10:20 PM
Edited Dec 11, 2010 at 10:24 PM

thanks

i need from the user a  permission  to write on his wall  (perms=publish_stream)

when the user frist time login i want write permition on his wall i need   to redirect the user to this link 

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

how can i do it with this api?

can you send we example ?

 i try to this:

 Protected Sub fbApplication_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles fbApplication.Init
        ''test
        'Dim teuid As Object = Request("fb_sig_user")
        'If teuid Is Nothing Then
        '    Response.Redirect("http://www.facebook.com/connect/uiserver.php?app_id=140674085984135&next=http%3A%2F%2Fapps.facebook.com%2Fsmsalertsms%2F&display=page&locale=he_IL&return_session=0&fbconnect=0&canvas=0&legacy_return=1&method=permissions.request&perms=publish_stream,status_update")
        'End If
        ''************************************************************************* 

        Dim authToken As Object = Request.QueryString("auth_token")


        If IsNothing(authToken) Or IsDBNull(authToken) Then
            Dim sessionKeyObj As Object = Session("facebook_session_key")
            If IsNothing(sessionKeyObj) Or IsDBNull(sessionKeyObj) Then
                Response.Redirect("http://www.facebook.com/connect/uiserver.php?app_id=140674085984135&next=http%3A%2F%2Fapps.facebook.com%2Fsmsalertsms%2F&display=page&locale=he_IL&return_session=0&fbconnect=0&canvas=0&legacy_return=1&method=permissions.request&perms=publish_stream,status_update")
            End If
        End If




    End Sub

 but its not work good

please help!!!

thanks

May 13, 2011 at 2:55 PM

I also have so question  about the facebook sdk .

why not lt like the twitter sdk ,

the  api  get the accesstoken  is not allow usefull ,it's have the session or cookie time .

 

Not satisfied。