Facebook 'Like' buttons and # URL strings?

前端 未结 3 615
遇见更好的自我
遇见更好的自我 2020-12-29 13:40

What does Facebook make of \'Like\' buttons in a ajax web app if they are referring to the same page but with a different # string?

Does it treat them as different p

3条回答
  •  無奈伤痛
    2020-12-29 13:46

    Facebook will drop everything following the hash tag. What you need to do is send your request escaping # symbol encoding it in %23