Facebook opengraph and AJAX content

I have an application with AJAX content, and I want users to be able to exchange URLs where the content of the page is determined by the hash / anchor part of the URL (material after "#"). That is, I want to determine the values ​​of opengraph tags based on the hash of the URL.

Google has a mechanism for this: http://code.google.com/web/ajaxcrawling ... arted.html

Is there a facebook?

thank

+5
source share
2 answers

Yes.

Facebook treats AJAX sites the same way Google does. URLs with hashbang are replaced with the _escaped_fragment_ parameter.

Compare the following:

http://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Flikeapage.com%2F%23!%2FChristmas%2Fvs%2FBacon

http://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Flikeapage.com%2FChristmas%2Fvs%2FBacon

, Open Graph, URL-, . FB , , .

+5

.

, . URL- # s. URL- # , URL- # , .

-1

All Articles