mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-07 00:48:55 +00:00
pumpio, statusnet, tumblr, twitter, wordpress: Changed the way, shares are displayed
twitter: Look for the entities when importing tweets.
This commit is contained in:
parent
e28b559bfc
commit
bbc8a1328d
7 changed files with 178 additions and 29 deletions
|
@ -764,7 +764,10 @@ function fbpost_post_hook(&$a,&$b) {
|
|||
);
|
||||
}
|
||||
else {
|
||||
if(! $likes) {
|
||||
// Only add to queue if its a toplevel post.
|
||||
// Sometimes posts are accepted from facebook although it telling an error
|
||||
// This leads to endless comment flooding.
|
||||
if(! $likes AND $toplevel) {
|
||||
$r = q("SELECT `id` FROM `contact` WHERE `uid` = %d AND `self`", intval($b['uid']));
|
||||
if (count($r))
|
||||
$a->contact = $r[0]["id"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue