开发者

Traversing Connections through the Facebook C# API

开发者 https://www.devze.com 2023-03-05 00:35 出处:网络
I am attempting to write an application that harvests information from a logged-in Facebook user.We are using the Facebook C# API (some documentation here).Getting the basic user information is easy e

I am attempting to write an application that harvests information from a logged-in Facebook user. We are using the Facebook C# API (some documentation here). Getting the basic user information is easy enough, but the Graph API supports a lot of connections that link their objects to other arrays of things, which are all important for the application I'm writing. I am unable to find an example on how to traverse these connections on the codeplex site. Can anyone provide an example? Normally I would use the site itself but the discussion page outright requests that q开发者_如何学Gouestion askers use Stack!


Here is a sample code on how to use the feeds connection.

var fb = new FacebookClient("access_token");
dynamic result = fb.Get("/me/feeds");


You don't specify much about your application. If this is more of an IT thing than a true "Facebook Application", you could automate using PowerShell with Facebook PS Module.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号