mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-09 18:08:49 +00:00
Some more debug information for twitter-sync and facebook-sync
This commit is contained in:
parent
6461c0a50d
commit
fe8bb8fec6
2 changed files with 20 additions and 5 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue