The Facebook scraper can only see <meta>
tags included in the original HTML response from the server. It's not "smart enough" to run any JavaScript code, Flash plugins, Java applets, or anything else that a full-fledged browser might run.
You'll need to generate these <meta>
tags on the server using a server side framework.
Also, Facebook provides a handy testing tool to make sure your page exposes the appropriate meta tags. You might need to add OpenGraph tags as well, such as og:title
and og:description
.