basic VB facebook app

Sep 1, 2009 at 10:45 PM

ive been looking all over the internet and havent found alot of information and not alot of source code for vb desctop apps i found the following on the wiki facebook developers

' Request a handle to the Friends list and place it in the FriendList control
' We'll use a Try block in case the login process fails. 
      Try
           FriendList.Friends = FacebookService.GetFriends()
       Catch
           MsgBox("Facebook appears to be unavailable" & _
                  " or your username/password was not" & _
                  " accepted.", 0, "Facebook Error")
       End Try
       lstOutput.Items.Add("Welcome, " & FacebookService.GetUserInfo.FirstName & ".")
       ' Display count of current user's friends.
       lstOutput.Items.Add("You have: " & CInt(FriendList.Friends.Count) & " friends.")

which everytime i try run and login with my facebook account it just says Facebook appears to be unavailableor your username/password was not accepted. :/ is there any online tutorials for this fraimwork for vb? thanks in advanced any help is appreciated!

Sep 11, 2009 at 7:45 AM

Hi

I am in the same situation as you. I am trying to get the VB. to work

The code i have is

 

FacebookService1.ConnectToFacebook()
Dim fb_name As String <font size="2">

 

</font>

Dim current_user As Long

Debug.Print(FacebookService1.users.getLoggedInUser)

 

The only row that works here is the Connecttofacebook. I do get a Facebook login screen but after that NADA..

Would like to co-operate with you to see how we can get help each other

 

Regards

 

Meir