k0shk0sh / FastHub

FastHub the ultimate GitHub client for Android.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Skom and ST

Helmisto opened this issue · comments

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