Requested value 'Networking' was not found. HELP

Jan 2, 2008 at 10:49 AM
Edited Jan 2, 2008 at 10:51 AM
I am getting the error Requested value 'Networking' was not found and have no idea whats going on. The error is on the line "Dim f As Collection(Of Facebook.Entity.User) = Me.FBService.GetFriends()"
Here is my code. Any help is greatly appreciated.

Imports System.Collections.Generic
Imports System.Collections.ObjectModel
Imports Facebook
Imports Facebook.WebControls

Partial Public Class friendlist
Inherits CanvasIFrameBasePage

Private Const FACEBOOKAPIKEY As String = "xxx"
Private Const FACEBOOK_SECRET As String = "xxx"
Protected HelloWorld

Protected Shadows Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)
MyBase.Page_Load(sender, e)

If (Not IsPostBack) Then
Dim u As Facebook.Entity.User = Me.FBService.GetUserInfo()
Dim f As Collection(Of Facebook.Entity.User) = Me.FBService.GetFriends()
HelloWorld.Text = "Hello " & u.Name & " you have " & f.Count & " friend(s)" & Me.FBService.SessionKey
End If

End Sub

End Class

Thanks A lot
Jan 2, 2008 at 2:01 PM
Use the last version (Version 1.5 ).