• Welcome to PHPVIBE Forums. Please log in.

[ Video Sharing CMS v4 ] Sharing a Twitter Tip

Started by megaman79,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

megaman79Topic starter

In appreciation PHPVibe for the excellent Software, I want to share a piece of code for Twitter.
For those who are interested.


<a href="http://twitter.com/intent/tweet?text=[VIDEO] - <?php echo $video->title; ?>&url=<?php echo $canonical; ?>&via=TwitterUsername" onClick="return twitter_click(600, 300)" target="_blank" title="Share in Twitter"></a>


Example: [VIDEO] - John Michael Video -  Everything is Possible with God http://www.domain.com/video/87241/john-michael-everything-is-possible-with-god/ via @YourTwitterUsername

Code Features:

- Add a Text like: [VIDEO] - (before the Post Title.
- Add Username (when a tweet is made it will say: via @YourTwitterUsername
- You can use a custom Imagen Button.

I hope this can be usefully like it does to me.
"Very Happy with PHPVibe"
  •  

Similar topics (7)