mirror of
https://github.com/friendica/friendica
synced 2024-11-20 11:03:42 +00:00
set debug level for very noisy trace info
This commit is contained in:
parent
a01c40a845
commit
5c34a8b219
1 changed files with 2 additions and 2 deletions
|
@ -122,12 +122,12 @@ function fb_get_friends($uid) {
|
|||
if($s) {
|
||||
logger('facebook: fb_get_friends: ' . $s);
|
||||
$j = json_decode($s);
|
||||
logger('facebook: fb_get_friends: json: ' . print_r($j,true));
|
||||
logger('facebook: fb_get_friends: json: ' . print_r($j,true), LOGGER_DATA);
|
||||
foreach($j->data as $person) {
|
||||
$s = fetch_url('https://graph.facebook.com/' . $person->id . '?access_token=' . $access_token);
|
||||
if($s) {
|
||||
$jp = json_decode($s);
|
||||
logger('fb_get_friends: info: ' . print_r($jp,true));
|
||||
logger('fb_get_friends: info: ' . print_r($jp,true), LOGGER_DATA);
|
||||
|
||||
// always use numeric link for consistency
|
||||
|
||||
|
|
Loading…
Reference in a new issue