简体   繁体   中英

Post to Facebook user wall using Facebook.dll in WP7

How to post to user wall in facebook using Facebook.dll in WP7. I found one method named PostAsync() but am not able to understand the parameters. Any help will be thankfull. Thanks

Finally succeded in Posting using the follwing code:-

var args = new Dictionary<string, object>();
 args["name"] = "Check this out";
 args["link"] = "www.xyz.com";
 args["caption"] = "";
 args["description"] = "description";
 args["picture"] = "";
 args["message"] = "Check this out";
 args["actions"] = "";

FacebookAsyncCallback callBack = new FacebookAsyncCallback(this.postResult);
 fbApp.PostAsync("me/feed", args, callBack);  

    private void postResult(FacebookAsyncResult asyncResult)
    {
        System.Diagnostics.Debug.WriteLine(asyncResult);
    }

如果您使用的是Facebook C#SDK,可以在此处找到他们的文档: http//csharpsdk.org/docs/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM