POST在WP7使用Facebook.dll Facebook的用户墙 [英] Post to Facebook user wall using Facebook.dll in WP7
本文介绍了POST在WP7使用Facebook.dll Facebook的用户墙的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何使用WP7发布Facebook.dll用户墙上的Facebook。
我发现一个名为PostAsync()方法之一,但我无法理解的参数。
任何帮助会心存感激。
谢谢
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
推荐答案
最后,在使用follwing code发布succeded: -
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);
}
这篇关于POST在WP7使用Facebook.dll Facebook的用户墙的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文