aboutsummaryrefslogtreecommitdiffstats
path: root/addon/facebook
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-05-13 20:40:28 -0700
committerFriendika <info@friendika.com>2011-05-13 20:40:28 -0700
commit7942192e2089224544c6fa55f64a77fbbf1e6281 (patch)
tree277ee7e7ca364a340fb3db918382946ebc5844d3 /addon/facebook
parent4f920e5a6117c85d8b977196be2b2f22104999be (diff)
downloadvolse-hubzilla-7942192e2089224544c6fa55f64a77fbbf1e6281.tar.gz
volse-hubzilla-7942192e2089224544c6fa55f64a77fbbf1e6281.tar.bz2
volse-hubzilla-7942192e2089224544c6fa55f64a77fbbf1e6281.zip
FB reply if replying to local post originally posted to FB
Diffstat (limited to 'addon/facebook')
-rw-r--r--addon/facebook/facebook.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/addon/facebook/facebook.php b/addon/facebook/facebook.php
index 91e68abd3..ab4827e6e 100644
--- a/addon/facebook/facebook.php
+++ b/addon/facebook/facebook.php
@@ -389,6 +389,8 @@ function facebook_post_hook(&$a,&$b) {
);
if(count($r) && substr($r[0]['uri'],0,4) === 'fb::')
$reply = substr($r[0]['uri'],4);
+ elseif(count($r) && substr($r[0]['extid'],0,4) === 'fb::')
+ $reply = substr($r[0]['extid'],4);
else
return;
logger('facebook reply id=' . $reply);