A callback class for the Facebook SDK.
แพ็คเกจ: | facebook |
onSuccess(Object)
Called when the dialog completes without error.
Note: This will be called instead of FacebookCallback.onCancel() if any of the following conditions are true.
MessageDialog is used.
The logged in Facebook user has not authorized the app that has initiated the dialog.
public void onSuccess(Object result)
พารามิเตอร์ | คำอธิบาย |
---|---|
result | Result from the dialog |
onCancel()
Called when the dialog is canceled.
Note: FacebookCallback.onSuccess(RESULT) will be called instead if any of the following conditions are true.
MessageDialog is used.
The logged in Facebook user has not authorized the app that has initiated the dialog.
public void onCancel()
onError(FacebookException)
Called when the dialog finishes with an error.
public void onError(FacebookException error)
พารามิเตอร์ | คำอธิบาย |
---|---|
error | The error that occurred |