Hi thanks,
I modify the connection like this:
String accessTokenFeed =
"AAAAAAITEghMBAESU8tbrrgjPasFgChmiYqxIvZAc3NWaZCsKIX3vvml6Nc02a5nuYwOWfAG9JcZABvqjSfPKwOoM5xyU7CbrgEbEEaF3eRPVk0eTOM8";
FacebookClient fb = new DefaultFacebookClient();
fb.convertSessionKeysToAccessTokens("appID", "app_secret", new
String[]{accessTokenFeed});
i get this following error:
INFO: Facebook responded with HTTP status code 400 and response body:
{"error":{"message":"An active access token must be used to query
information about the current user.","type":"OAuthException"}}
Exception in thread "main"
com.restfb.exception.FacebookOAuthException: Received Facebook error
response of type OAuthException: An active access token must be used
to query information about the current user.
at com.restfb.DefaultFacebookClient
$DefaultGraphFacebookExceptionMapper.exceptionForTypeAndMessage(DefaultFacebookClient.java:
643)
i am accessing feed.
thanks.
cheers.
On 23 Okt, 17:05, Marcel Stör <
mar...@frightanic.com> wrote:
> You need a token that allows offline access I guess:
http://groups.google.com/group/restfb/browse_thread/thread/013639df58...
> Marcel Stör,
http://www.frightanic.com