Guest User

Untitled

a guest
Jan 18th, 2019
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. if ($user) {
  2. try {
  3. $friendsapp = $facebook->api('/me/friends?fields=installed');
  4. } catch (FacebookApiException $e) {
  5. echo '<pre>'.htmlspecialchars(print_r($e, true)).'</pre>';
  6. $user = null;
  7. }
  8. }
  9.  
  10. SELECT uid FROM user WHERE is_app_user=1 AND uid IN (SELECT uid2 FROM friend WHERE uid1 = me())
Add Comment
Please, Sign In to add comment