mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-09 18:08:49 +00:00
app.net, facebook, twitter and statusnet: Preview now shows the post like it will appear on other networks.
This commit is contained in:
parent
f0efa3cae2
commit
9177ee2ecb
5 changed files with 166 additions and 4 deletions
|
@ -692,6 +692,9 @@ function fbsync_createlike($a, $uid, $self_id, $self, $contacts, $like) {
|
|||
|
||||
function fbsync_fetch_contact($uid, $contact, $create_user) {
|
||||
|
||||
if($contact->url == "")
|
||||
return(0);
|
||||
|
||||
// Check if the unique contact is existing
|
||||
// To-Do: only update once a while
|
||||
$r = q("SELECT id FROM unique_contacts WHERE url='%s' LIMIT 1",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue