mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-16 20:05:14 +02:00
diaspora admin toggle, update install guide
This commit is contained in:
parent
564ade0685
commit
eb2ef6dec4
7 changed files with 36 additions and 18 deletions
|
@ -151,6 +151,8 @@ function fb_get_friends($uid) {
|
|||
logger('facebook: fb_get_friends: ' . $s, LOGGER_DATA);
|
||||
$j = json_decode($s);
|
||||
logger('facebook: fb_get_friends: json: ' . print_r($j,true), LOGGER_DATA);
|
||||
if(! $j->data)
|
||||
return;
|
||||
foreach($j->data as $person) {
|
||||
$s = fetch_url('https://graph.facebook.com/' . $person->id . '?access_token=' . $access_token);
|
||||
if($s) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue