Links to Twitter not working
-
I have a plugin for Twitter running and the general information is coming up fine. However, I’m having trouble with the retweet, favorite, and reply buttons.
Initially, they showed up, but if I clicked received an error message:
- https://twitter.com/intent/favorite?tweet_id=3.93160313627E+17&original_referer=https://sublimecode.com.br/sublime-tweets/demo/user-timeline/
When I found how to get rid of the error, the icons did nothing. Trying to fix this, the icons are now not appearing at all – even though they’re still in the code. So I’m a little frustrated.
Here’s the piece of code I’m looking at:
<div class=”sbttr-user-timeline-item-desc”>
<?php echo $twitter->linkable( $tweet ) ?>
</div><div class=”sbttr-user-timeline-item-actions”>
“<href=”https://twitter.com/intent/tweet?in_reply_to=<?php echo $tweet->id ?>”<i class=”icon-reply”></i>
“<href=”https://twitter.com/intent/retweet?tweet_id=<?php echo $tweet->id ?>”<i class=”icon-retweet-3”></i>
“<href=”https://twitter.com/intent/favorite?tweet_id=<?php echo $tweet->id ?>”<i class=”icon-star-empty-1”></i>I know the error is within the links to Twitter, but I haven’t been able to find the “exact” problem. The fix is probably easy – If someone could shed some light I’d appreciate the help of fresh eyes.
- The topic ‘Links to Twitter not working’ is closed to new replies.