Tuesday, April 10, 2012

Faceook mobile web returns 'Your link could not be found' when sharing a URL

When users try to share a URL on facebook mobile web, sometimes the page returns the following message: 'Your link could not be found' and a text input to manually insert the URL



  1. Sharing URL that works:
    https://m.facebook.com/sharer.php?u=http://dishenvy.com/dish/pollo-garnachas-gran-electrica-brooklyn

  2. Sharing URL that doesn't work:
    https://m.facebook.com/sharer.php?u=http://dishenvy.com/dish/samgyupsal-hahm-ji-bach-new-york-



Code I'm using:


<a class="fb_share" name="fb_share" type="icon" share_url="<?php echo urldecode($shareUrl) ?>">                                               
 <script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>
 



Answer:

According to the debugger the two url example that you posted work the same:
So I don't know how to help you with that.
What I can tell you though is that you are using a deprecated api. The facebook "sharer" is no longer supported as it states here:
The Share button has been deprecated in favor of the Like button, and will no longer be supported. Please use the Like button whenever possible to drive maximum traffic to your apps.
And here:
What happened to the old Share button?
We deprecated the Share Button when we launched the Like button, because the Like button improves clickthrough rates by allowing users to connect with one click, and by allowing them to see which of their friends have already connected.
That may be a cause for the inconsistency you are experiencing. My advise to you is to stop using this deprecated api and move to the Like button.

No comments:

Post a Comment