Home FacebookOAuthException when using the Facebook C# API
Reply: 0

FacebookOAuthException when using the Facebook C# API

user586
1#
user586 Published in August 16, 2018, 6:16 am

I'm using the Facebook C# API in a Desktop application and retrieve an access token via OAuth in an embedded browser. The access token works fine when I use it in the Graph API Explorer. However, when I do a call from C# using the SDK, I get a FacebookOAuthException. The message is: "(OAuthException - #2500) Unknown path components: /me".

var client = new FacebookClient(accessToken); // token confirmed to work via API Explorer
client.Version = "2.11";
client.AppId = appid;
dynamic me = client.Get("me");

What is the problem here?

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.293908 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO