Tweet Counter and content behind a paywall



It appears the Tweet counter does not work when content is behind a paywall.

For example this article:

redirects to a login/paywall page if you are not a subscriber. However, if you login in a tweet the story that seems to work, but the count does not get updated to reflect the Tweet. Is there some sort of configuration change we need to make?



Yeah, Twitter’s crawler follows redirects. Since the article redirects via a 302 to that is the URL which will be incremented when the original URL is Tweeted. (I see this URL actually has a count of 10)

One option would be to not redirect to the login page (just render a login prompt) so that the page results in a 200. Another would be to detect Twitter’s crawler (via user agent, should be visible in your logs) and render a 200 response.