]> git.mxchange.org Git - friendica-addons.git/blobdiff - fbsync/fbsync.php
app.net, facebook, twitter and statusnet: Preview now shows the post like it will...
[friendica-addons.git] / fbsync / fbsync.php
index bcd4e5a8d51bd70cc0c44011aef4f1d90364a120..9abac7dc57cbdff8ff1190d783c2926a54149113 100644 (file)
@@ -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",