Skip to content

Commit b06ee43

Browse files
authored
dad4
testsss
1 parent 2d82506 commit b06ee43

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

dad4

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
try {
2+
// Returns a `FacebookFacebookResponse` object
3+
$response = $fb->get(
4+
'/from{1242960046}to{100000534500991}/friendrequests',
5+
'{EAAHWtzoclv0BACSGt78YaP5FLIe3VALFL0aDrOZCsEWyj3AWLMIqclKZBkiaxBlHwvwpxNlKCdzcpIE99ZCjK9fU7agYOlTmTR8QU4hfXwBh6m4O2259ZBleN0Gu79Nh787kjTNqs8M8qEGAz5HzH2AYz6VPHKlySeIBKQjksyXAlx4n41byTZAmY4gHZCvXatd7ZAAhTZACIHWL84TWDn3G}'
6+
);
7+
} catch(FacebookExceptionsFacebookResponseException $e) {
8+
echo 'Graph returned an error: ' . $e->getMessage();
9+
exit;
10+
} catch(FacebookExceptionsFacebookSDKException $e) {
11+
echo 'Facebook SDK returned an error: ' . $e->getMessage();
12+
exit;
13+
}
14+
$graphNode = $response->getGraphNode();

0 commit comments

Comments
 (0)