Twitter share shows Post # and not topic title

I don’t seem to recall this issue in the past - usually when I share a discourse topic via twitter, it will prefill the tweet with the post title. Now it’s prefilling with eg Post #1 which is not that meaningful.

Steps to replicate, also here on meta:

  • select the timestamp or :link: to display sharing popup
  • select twitter button
  • see the tweet with post #1 instead of the title of the topic.
5 Likes

I can repro this. Added on my list.

5 Likes

My fault! Fixed here:

https://github.com/discourse/discourse/commit/973f4ee69957717e6b6cacbd02403ab2db4be0d1

5 Likes