0

ここからいくつかのコードを変換した後https://github.com/facebook-csharp-sdk/facebook-winforms-sampleのような acseptig コードではありませんparameters.client_id

ここに私が問題を抱えているセクションがあります

Private Function GenerateLoginUrl(ByVal appId As String, ByVal extendedPermissions As String) As Uri
        Dim parameters As New ExpandoObject() =
        parameters.client_id = appId
        parameters.redirect_uri = "https://www.facebook.com/connect/login_success.html"

        ' The requested response: an access token (token), an authorization code (code), or both (code token).
        parameters.response_type = "token"

        ' list of additional display modes can be found at http://developers.facebook.com/docs/reference/dialogs/#display
        parameters.display = "popup"

        ' add the 'scope' parameter only if we have extendedPermissions.
        If Not String.IsNullOrWhiteSpace(extendedPermissions) Then
            parameters.scope = extendedPermissions
        End If

        ' when the Form is loaded navigate to the login url.
        Return _fb.GetLoginUrl(parameters)
    End Function
4

1 に答える 1

0

行末の等号を削除してみてくださいDim parameters As New ExpandoObject()

于 2013-03-19T18:16:33.807 に答える