Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>You can't, it just doesn't support it.</p> <p>I have to ask, why those calculations need to happen Only inside the flash app?</p> <p>You have to be navigating to an URL that clearly relates to the metadata you get from the flash app. Otherwise how would the flash app know to get the values depending on the URL you hit.</p> <p>Options are:</p> <ul> <li><strong>calculate on the page:</strong> When serving the page you need to do those same calculations on the server and send the title, etc on the page metadata. </li> <li><strong>send metadata in the query string to your site</strong>: If you really must keep the calculation off the server, an alternative trick would be to explicitly set the metadata in the URL the users click to get to your site from Facebook. When processing the page, you just copy it back in the metadata sections (don't forget to encode appropriately). That is clearly limited because of the url size restrictions.</li> <li><strong>send the calculation results in the query string to your site:</strong> if those calculations just give you a couple numbers that are used in the metadata, you could include just that in the query string of the URL the users click back to your site. That's more likely to not give you problems with URL sizes.</li> </ul> <hr> <p>re </p> <blockquote> <p>Why is this upvoted? It's wrong. You CAN - it IS supported to add custom title, description and images to your share. I do it all the time. – Dustin Fineout 3 hours ago</p> </blockquote> <p>The OP very clearly stated that he already knew you could serve that from a page, but wanted to pass the values directly to facebook (not through the target page). </p> <p>Besides, note that I gave 3 different options to work around the issue, one of which is what you posted as an answer later. Your option isn't how the OP was trying to do it, its just a workaround because of facebook restrictions. </p> <p>Finally, just as I did, you should mention that particular solution is flawed because you can easily hit the URL size restriction.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload