Hi there,
Re: page on http://saveafricanhistory.handsupstaging.com/
I have a page with various Tweet buttons for different sections of a page.
The problem is the Twitter card is not being applied to the tweets. Using the Twitter cards validator, I can see that the cards are configured and whitelisted ok for the relevant page.
Here is my Tweet button code (excuse the PHP variables output for parameters)…
<a href="https://twitter.com/intent/tweet?text=<?=$tweet_text;?>&url=<?=$url;?>&data-counturl=<?php echo "http://$_SERVER[HTTP_HOST]/"; ?>" target="_blank" title="Tweet" onclick="window.open('https://twitter.com/intent/tweet?text=<?=$tweet_text;?>&data-counturl=<?php echo $url; ?>'); return false;"><button class="<?=$hide_class;?> tw"><i class="fa fa-twitter"></i> Tweet</button></a>
Thanks for any help
Kevin