02-26-2012 01:02 PM
Hi, my code is
String NEXT_URL = "http://www.facebook.com/connect/login_success.html
;deviceside=true"; String APPLICATION_ID = "XXXXXXXXX"; String APPLICATION_SECRET = "XXXXXXXXXXXXXX"; String PERMISSIONS = Facebook.Permissions.USER_DATA_PERMISSIONS; ApplicationSettings as = new ApplicationSettings(NEXT_URL, APPLICATION_ID, APPLICATION_SECRET, PERMISSIONS); Facebook fb = Facebook.getInstance(as); System.out.println(fb.getAccessToken());
I just want to ask, why my accessToken is null , and how can i solve this problem ?
Please help me out. I want to connect my Blackberry device to facebook and post update status.