facebook share, title not shared

前端 未结 3 1606
悲&欢浪女
悲&欢浪女 2021-01-13 05:42

Go to the following url http://www.facebook.com/sharer.php?u=http://www.google.com&t=test%20title

The title is not shown in the shared message.

Am I usi

相关标签:
3条回答
  • 2021-01-13 06:36

    I'm pretty sure that Google changes the Title attribute of the page via javascript. If you look at the source code of their search results page, the TITLE tags simply contain "Google".

    Google doesn't do it, but if your page includes the "og:title" Open Graph metadata tag, Facebook will give that priority over your TITLE tags.

    0 讨论(0)
  • 2021-01-13 06:45

    Use this format:

    http://www.facebook.com/sharer.php?s=100&p[title]=Hello+World&p[url]=http://www.google.com&p[images][0]=http://www.google.com/images/1.jpg&p[summary]=Awesome+Share

    Use proper ASCII values for the escape characters if required.

    0 讨论(0)
  • 2021-01-13 06:46
    1. Mostly likely Google.com is already cached so your title will not appear even if the functionality is still working
    2. It seems that facebook is ignoring the t parameter if a page <title> is present on the page you are sharing
    3. Don't use the share button if you don't really need it, use the Like button instead OR follow the instructions on the share document (make use of Basic Tags).
    0 讨论(0)
提交回复
热议问题