How to add Text, Link and Mention or Hashtags on Twitter Share Post Link

With this PHP code, without using any Online API you add link mention or hashtags on your twitter share post.

This is code for add text, link and tag on twitter post

https://twitter.com/intent/tweet/?source=&text=<?php echo get_the_title(); echo ‘ @ageIndia’?>&url=<?php echo get_permalink( get_the_ID());?

Leave a Reply

Your email address will not be published. Required fields are marked *