How to render Bitmap into Canvas?

How can you make Facebook's FB:Comments tag render nice shares when someone posts to their wall?

  • The URL is intact but the title, image etc are not retained. This is a follow-up question to .

  • Answer:

    The problem you are facing is you are sharing a tab (that's base URL) lives on facebook<dot>com.  I'm assuming that you are using fb.share and setting the title, image, link, and other attributes within the http post.  So the first share (initiated with fb.share) the meta data is contained within that post, but for any other share beyond the first; the meta data is obtained from the original link shared and the meta data on that link.  In your case since you are sharing a Facebook tab the second share is most likely producing meta data associated to facebook<dot>com  To fix this you need to share a link that is not on Facebook. That link needs to have the proper og:meta info for the open graph <google it>.  Your next problem is that link isn't where you want people to go since you are sharing a Facebook tab. On that link you also need to write a redirect script that will send the individuals back to Facebook.  In a majority of cases you can use this to detect wether a user is on a mobile browser or not.  If they are on a mobile browser you can send them to a mobile rendition of your tab (because mobile users can't see tabs), and if they are on a regular browser send them to the tab.

Tommy Inglis at Quora Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.