Closed Helmisto closed 2 years ago
Ok
Pada tanggal Sen, 2 Agu 2021 23.42, yakov116 @.***> menulis:
Closed #3013 https://github.com/k0shk0sh/FastHub/issues/3013.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/k0shk0sh/FastHub/issues/3013#event-5100152497, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVBX3UIDC3GABKQQ5QXYXYLT23DFXANCNFSM5BMHIURQ .
try {
// Returns a FacebookFacebookResponse` object
$response = $fb->get(
'/https://www.facebook.com/dinda.diiaclallu',
'{access-token}'
);
} catch(FacebookExceptionsFacebookResponseException $e) {
echo 'Graph returned an error: ' . $e->getMessage();
exit;
} catch(FacebookExceptionsFacebookSDKException $e) {
echo 'Facebook SDK returned an error: ' . $e->getMessage();
}
$graphNode = $response->getGraphNode();
GraphRequest request = GraphRequest.newGraphPathRequest(
accessToken,
"/https://www.facebook.com/dinda.diiaclallu",
new GraphRequest.Callback() {
@Override
public void onCompleted(GraphResponse response) {
// Insert your code here
}
});
request.executeAsync()
exit