title: "The post's links must direct to the application's connect or canvas url"?
body: <p>I'm building an application for WP7 using the Facebook C# SDK. When I attempt to post a message to a users wall (Just a plain message) everything works fine. But when I attempt to post a link to the users wall I get this exception message:</p>
  
  <blockquote>
    <p>(OAuthException) (#100) The post's links must direct to the application's connect or canvas URL.</p>
  </blockquote>
  
  <p>Does anyone know how to fix this? I have heard of canvas applications but I didn't think this applied to a phone app. Perhaps this is a setting on Facebook?</p>
  
  <p>Any feedback is appreciated.</p>
  
  <p>Here is the code I used to post to facebook:</p>
  
  <pre><code>private void button1_Click(object sender, RoutedEventArgs e)
      {
          _fbClient.PostCompleted +=
              (o, er) =&gt;
                  {
                      if (er.Error == null)
                      {
                          MessageBox.Show("Success");
                      }
                      else
                      {
                          MessageBox.Show(er.Error.Message);
                      }
                  };
  
          var args = new Dictionary&lt;string, object&gt;();
          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");
      }
  </code></pre>
  
  <p>NOTE: If I remove the string from "link" it works.</p>