Some more debug information for twitter-sync and facebook-sync

This commit is contained in:
Michael Vogel 2013-10-29 08:09:44 +01:00
parent 6461c0a50d
commit fe8bb8fec6
2 changed files with 20 additions and 5 deletions

View file

@ -681,6 +681,11 @@ function fbsync_fetchfeed($a, $uid) {
$data = json_decode($feed);
if (!is_array($data->data)) {
logger("fbsync_fetchfeed: Error fetching data for user ".$uid.": ".print_r($data, true));
return;
}
$posts = array();
$comments = array();
$likes = array();