Page 1 of 1

Twitter Plugin new "follow me" Button

Posted: Mon Oct 31, 2011 3:39 pm
by lfrantzen
Hi,

it would be great if the Twitter plugin could make use of the new Twitter "follow me" button instead of the "follow me" link. The new button can be generated here:
https://twitter.com/about/resources/followbutton

Thanks for the new release 1.6, update worked as a charm, as usual!
Lars

Re: Twitter Plugin new "follow me" Button

Posted: Tue Nov 15, 2011 5:02 pm
by lfrantzen
tomola wrote:Thank you. It's that i was searching. :D
This looks like a spam post!?

Re: Twitter Plugin new "follow me" Button

Posted: Tue Nov 15, 2011 8:38 pm
by yellowled
lfrantzen wrote:This looks like a spam post!?
Anybody know what "Simsalabim" means in English? :)

YL

Re: Twitter Plugin new "follow me" Button

Posted: Tue Nov 15, 2011 10:13 pm
by lfrantzen
:D

The same crap as what they do with blog post comments...

Re: Twitter Plugin new "follow me" Button

Posted: Sat Nov 19, 2011 2:46 am
by Mangek
lfrantzen wrote:Hi,

it would be great if the Twitter plugin could make use of the new Twitter "follow me" button..
I thought so too and had a look in serendipity_plugn_twitter.php. Changed line 298 from:

Code: Select all

echo '<p id="twitter_follow_me"><a href="' . $followme_url . '" class="twitter_follow_me">' . PLUGIN_TWITTER_FOLLOWME_LINK_TEXT . '</a></p>' . "\n";
to include the code provided by Twitter:

Code: Select all

echo '<p id="twitter_follow_me"><a href="https://twitter.com/YOURNAMEHERE" class="twitter-follow-button" data-show-count="false">Follow @YOURNAMEHERE</a>
<script src="//platform.twitter.com/widgets.js" type="text/javascript"></script></p>' . "\n";
Seems to work ok but I don't know if this generates any errors somewhere. :-)

Re: Twitter Plugin new "follow me" Button

Posted: Sat Nov 26, 2011 7:32 pm
by blog.brockha.us
As I am working on the microblogging plugin at the moment, I will add widget options to the plugins configuration. I hope it will be on Spartakus soon, but I have to betatest it a little more. :)

Later: Woah, I have to admit this widget is really cool. I added it into the beta plugin in my blog. :)

Re: Twitter Plugin new "follow me" Button

Posted: Sun Nov 27, 2011 11:50 am
by lfrantzen
Adding the widget option would be great!

For now I use the manual modification from Mangek which seems to work fine!

Thanks and cheers,
Lars

Re: Twitter Plugin new "follow me" Button

Posted: Sun Nov 27, 2011 1:11 pm
by blog.brockha.us
I released the new version 1.39 of the microblogging plugin to Spartacus some minutes before.
The twitter followme widget is added with simple configurations (no need to copy and paste code i.e.).

I hope it works everywhere w/o problems as it did in my and some other blogs while betatesting. :)