开发者

Facebook 'like' with dynamic page titles

开发者 https://www.devze.com 2023-03-16 11:55 出处:网络
I\'m trying to get Facebook \'Likes\' (http://developers.facebook.com/docs/reference/plug开发者_C百科ins/like/#) working on my site, but my page titles are dynamic, filled in with bits of .erb.

I'm trying to get Facebook 'Likes' (http://developers.facebook.com/docs/reference/plug开发者_C百科ins/like/#) working on my site, but my page titles are dynamic, filled in with bits of .erb.

In initial testing, upon trying to 'send' the page, the .erb bits are coming up blank. I imagine this is because the Rails controller action is not firing each time Facebook goes in just to collect the page title. How can I circumvent this so the dynamic titles work when Facebook comes knocking at the door for a page title?

0

精彩评论

暂无评论...
验证码 换一张
取 消