Hi again,
I have the problem that Twitter does not properly recognize my meta tags for Twitter cards.
On Stackoverflow I found someone with a similar problem but as it is a quite new question it is currently unanswered.
The Twitter card validator gives me following output:
INFO: Page fetched successfully
INFO: 7 metatags were found
INFO: twitter:card = summary tag found
ERROR: Possibly invalid value (if specified) (twitter:title)
ERROR: Possibly invalid value (if specified) (og:title)
ERROR: Possibly invalid value (if specified) (twitter:text:title)
My meta tags:
<meta name="description" property="og:description" content="{{poll.info_text|striptags|truncatewords:20}}" />
<meta name="title" property="og:title" content="{{poll.title|truncatewords:5}}" />
<meta name="twitter:card" content="summary" />
<meta property="og:url" content="{{ request.scheme }}://{{ request.META.HTTP_HOST }}{{poll.get_absolute_url}}" />
I am aware that bots do not execute javascript but the contents are put in by the server so the Twitterbot should find them.
I appreciate your help.