"Should mail links point to a connect or canvas url application?"

I am building a WP7 application using the Facebook SDK. When I try to post a message to the user's wall (just one message), everything works fine. But when I try to post a link to the users wall, I get this exception message:

(OAuthException) (# 100) Message links must point to the connection URL of the application or canvas.

Does anyone know how to fix this? I heard about applications on the canvas, but I did not think that this applies to the phone application. Perhaps this is a Facebook setting?

Any feedback is welcome.

Here is the code I used to post to facebook:

private void button1_Click(object sender, RoutedEventArgs e)
    {
        _fbClient.PostCompleted +=
            (o, er) =>
                {
                    if (er.Error == null)
                    {
                        MessageBox.Show("Success");
                    }
                    else
                    {
                        MessageBox.Show(er.Error.Message);
                    }
                };

        var args = new Dictionary<string, object>();
        args["name"] = "Hello World!!"; 
        args["link"] = "http://www.nfl.com"; 
        args["caption"] = ""; 
        args["description"] = ""; 
        args["picture"] = ""; 
        args["message"] = "Hello World from application."; 
        args["actions"] = "";

        FacebookAsyncCallback callback = new FacebookAsyncCallback(this.postResult);
        _fbClient.PostAsync("me/feed", args, callback);
    }

    private void postResult(FacebookAsyncResult asynchResult)
    {
        MessageBox.Show("Success");
    }

NOTE. If I remove the line from the "link", it works.

+3
2

"here" . Facebook "Message Post Url Security" false. , -.

+21

Facebook. . " " " URL-".

+2

All Articles