Facebook share and like are grabbing the title from the home page
Share and like are working perfectly on my other PHP site, but on my new Rails site, it is just posting the home page url and the title from the home page. It's also not grabbing any images when posting through FB share.
I tried everythin开发者_如何学Pythong - setting the og:title meta property, changing the href in the url param for share.php to facebook, etc.
What am I missing? Has anyone encountered this problem on RoR?
Thanks, Bella
I think I know why. The page can't be views without a login. FB can't therefore see the page and is redirected to the log in page.
精彩评论