使用C#SDK获取facebook帖子

使用C#SDK获取facebook帖子,c#,facebook,facebook-c#-sdk,facebook-opengraph,C#,Facebook,Facebook C# Sdk,Facebook Opengraph,有没有办法通过facebook c#sdk获取帖子的相关信息?我有post id,所以我尝试使用它查询facebook服务器 string test = VendorShop.Services.Sess.getQueryString("signed_request"); var signed_request_obj = testClient.ParseSignedRequest( appSecret, test); var obj = testClient.Get( "https://

有没有办法通过facebook c#sdk获取帖子的相关信息?我有post id,所以我尝试使用它查询facebook服务器

string test = VendorShop.Services.Sess.getQueryString("signed_request");
var signed_request_obj  = testClient.ParseSignedRequest( appSecret, test);
var obj = testClient.Get(
    "https://developers.facebook.com/tools/debug/og/action?q=330203520408060");

我已经尝试过使用c#sdk获取数据,您可以通过graph api获取数据并传递访问令牌
//注意:将ur_postid替换为实际postid,将ur_accesstoken替换为ur facebook访问令牌

string test = VendorShop.Services.Sess.getQueryString("signed_request");
var signed_request_obj  = testClient.ParseSignedRequest( appSecret, test);
var obj = testClient.Get(
"https://graph.facebook.com/ur_postid?access_token=ur_accesstoken");
//您可以使用图形api资源管理器对其进行测试