Merge pull request #258 from annando/1504-fbsync-deprecated

Due to the breaking changes in the facebook API this addon is now deprecated
pull/262/head
Tobias Diekershoff 2015-04-29 14:36:10 +02:00
commit e02cb27857
1 changed files with 3 additions and 0 deletions

View File

@ -4,6 +4,7 @@
* Description: Synchronizes the Facebook Newsfeed * Description: Synchronizes the Facebook Newsfeed
* Version: 1.0 * Version: 1.0
* Author: Michael Vogel <https://pirati.ca/profile/heluecht> * Author: Michael Vogel <https://pirati.ca/profile/heluecht>
* Status: Unsupported
*/ */
/* To-Do /* To-Do
@ -615,6 +616,8 @@ function fbsync_createcomment($a, $uid, $self_id, $self, $user, $contacts, $appl
return; return;
$item = item_store($postarray); $item = item_store($postarray);
$postarray["id"] = $item;
logger('fbsync_createcomment: UID '.$uid.' - CID '.$postarray['contact-id'].' - Nick '.$contact_nick.' posted comment '.$item, LOGGER_DEBUG); logger('fbsync_createcomment: UID '.$uid.' - CID '.$postarray['contact-id'].' - Nick '.$contact_nick.' posted comment '.$item, LOGGER_DEBUG);
if ($item == 0) if ($item == 0)