downshiftorg / prophoto-issues

Public issue tracking for ProPhoto 6
8 stars 8 forks source link

Add storage of original page URL to retain Facebook like count #777

Open postmastersteve opened 7 years ago

postmastersteve commented 7 years ago

When a page URL changes, all Facebook like counts are reset to zero. This is because Facebook tracks like counts by URL. Users would like the original like count to remain after updating the URL of a resource, or in most cases, their entire site. (such as when changing a site from http:// to https:// or moving WordPress from a subfolder to the root)

ProPhoto can add a custom field to all posts, pages, and custom post types (like our Gallery page types) to save the URL of the page when the first 'like' happens. Then, we can use this URL for the og:url tag, as recommended by Facebook:

https://developers.facebook.com/docs/plugins/faqs#faq_1149655968420144

The storage of the URL can be default behavior, but the use of the original URL can be an opt-in option in "ProPhoto > Settings > Site Settings > Social Media" so that users have a choice if they want original likes to be retained when page addresses change or not.

postmastersteve commented 7 years ago

+1 Zoe Taylor ticket 168422

lalunecreative commented 7 years ago

+1