Facebook C# SDK and Access Token -


i'd able authenticate myself (my profile, not app) on own web application using facebook c# sdk. using graph api, can access token, token not seem work facebook c# seems stateless.

the error thrown is:

(oauthexception) active access token must used query information current user. 

i've poked around facebook c# sdk , documentation , of info i'm seeing redirect users login page not i'm looking for.

does have sample of auto-logging in myself can pull own information?

tia

when "yourself" mean app or actual facebook user?

if it's app, can access token posting url:

https://graph.facebook.com/oauth/access_token?grant_type=client_credentials&client_id=app_id_here&client_secret=app_secret_here

you can use access token perform actions on behalf of users if have authorized app so.


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

android - layout with fragment and framelayout replaced by another fragment and framelayout -