Add Facebook profile link to application RRS feed

  • Question

  • Hello Friends,

    Hi  i want to know that hw i can add facebook link to my application on windows 6.5. if any one like application he can add this application link to his facebook profile.hey plz help me.



    Friday, April 9, 2010 4:32 AM


  • Hey Ashraf Fawzy

    Thakns for ur work for me.thanks a lot for ur help.




    • Marked as answer by Niks 86 Tuesday, April 13, 2010 7:07 AM
    Tuesday, April 13, 2010 7:07 AM

All replies

  • Hello Niks

    do you want to interact with FaceBook form your application or you want to put a link in the application that will open a certain FB profile?

    in the first case you need to use the FB APIs, while for the second one a LinkLable is a good option which will open the browser that will navigate to the page.

    If you find my post helpful, please market as an answer or vote for it.
    Check out the DualTouch SDK for Resistive touchscreens (WM)
    Visit our community,
    Friday, April 9, 2010 4:26 PM
  • Hi Adel,

    Thanks for your reply.Hey I want second option. I want to put certain profile link.can u jst tel me hw i can do.Do u have any code or example so i can get idea.Thanks. 

    Monday, April 12, 2010 4:29 AM
  • Hi Niks 86 ,

    Add a LinkLabel control and add this code :

    Private Sub LinkLabel1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles LinkLabel1.Click
            System.Diagnostics.Process.Start("", String.Empty)
        End Sub

    This will lunch Mobile browser to preview FaceBook page , you can change the path to any FaceBook profile page.

    I hope that helps

    Monday, April 12, 2010 8:26 AM
  • Hi Ashraf,

    Thanks for your reply.Hey it will work fine .bt once i click on linklabel the facebook site open in browser bt my application get close. so wht i should i do.have any idea.






    Monday, April 12, 2010 9:01 AM
  • If you close the browser window you would find your app still running , but what happens here is that the browser window comes over and covers your program window.

    If you want to preview a FaceBook page inside your program without using the system browser you can add "WebBrowser" control on your form.


    Regards :MrAlshahawy

    Monday, April 12, 2010 9:49 AM
  • Hey Thanks.

    Hey  i tried webBrowser control bt not work.Can u jst guide me hw i can do it with webBrowser control. Do you have any example or code so i can get idea.





    Monday, April 12, 2010 10:11 AM
  • Hi ,

    VB Code :

    ' Navigates to the given URL if it is valid.
    Private Sub Navigate(ByVal address As String)
        If String.IsNullOrEmpty(address) Then Return
        If address.Equals("about:blank") Then Return
        If Not address.StartsWith("http://") And _
            Not address.StartsWith("https://") Then
            address = "http://" & address
        End If
            webBrowser1.Navigate(New Uri(address))
        Catch ex As System.UriFormatException
        End Try
    End Sub


    For more information :

    This link would answer your question about how to load a certain web page into WebBrowser Control , And to Dispose it after use.WebBrowser Class

    I hope that helps.
    Regards : Ashraf Fawzy
    Monday, April 12, 2010 10:17 PM
  • Hey Ashraf Fawzy

    Thakns for ur work for me.thanks a lot for ur help.




    • Marked as answer by Niks 86 Tuesday, April 13, 2010 7:07 AM
    Tuesday, April 13, 2010 7:07 AM