[View]  [Edit]  [Lock]  [References]  [Attachments]  [History]  [Home]  [Changes]  [Search]  [Help] 

test[coco8fb-ios] 01 AccessToken information


"Ensure you have login the application and report some information"
| token |
token := FBSDKAccessToken currentAccessToken.
token isNil ifTrue: [
	^self error: 'You must login to access this information'
].

#( appID userID tokenString
   expirationDateTime refreshDateTime 
   permissionsArray) do: [:each|
	self print: '// ',each,'=',(token perform: each)
].