Support » Fixing WordPress » Sharing link on Twitter

  • Hi,
    i’m setting up a new website (i made a lot of them) but now i’m facing a new problem. When I share my website URL on twitter, a message appears saying that my link looks like SPAM and cannot be shared.
    I’ve tried to change any kind of settings, but the error is still there.
    I wrote to twitter service center and they told it depends on the website.
    Can someone help me?

Viewing 1 replies (of 1 total)
  • Hi @dariocorallo,

    You have tried these.

    <a href="https://twitter.com/home?status=<?php echo get_permalink( get_the_ID() ); ?>"
     target="_blank" onclick="window.open(this.href, 'newwindow', 'width=700, height=400,left=400, top=200'); return false;"></a>

    I hope it will work for you!

    Thanks.

    • This reply was modified 1 year, 1 month ago by  Afzal Multani. Reason: add code format
Viewing 1 replies (of 1 total)
  • The topic ‘Sharing link on Twitter’ is closed to new replies.