[View] [Edit] [Lock] [References] [Attachments] [History] [Home] [Changes] [Search] [Help]
test[jx8fb] 00 Accessing FacebookSdk
"The main entry point of the framework is FacebookSdk class"
(Smalltalk includesKey: #FacebookSdk) ifFalse: [
self print: '// The FacebookSdk support is missing. '.
^self abort
].
self print: '// Success accessing SDK version '
,FacebookSdk sdkVersion
"Accessing information on FacebookSdk"
#( applicationContext applicationId applicationIdProperty
applicationName applicationNameProperty
autoLogAppEventsEnabled autoLogAppEventsEnabledProperty
clientToken clientTokenProperty
facebookDomain graphApiVersion
isDebugEnabled isInitialized isLegacyTokenUpgradeSupported
webDialogTheme
) do: [:selector|
self print: '// ',selector,'=', (FacebookSdk perform: selector)
].
self print: '// cacheDir at ',FacebookSdk cacheDir absolutePath.