Twitter button

Discuss PivotX 2.0.x extensions here, and view extensions that are available for download.

Twitter button

Postby jadwigo » Fri Aug 13, 2010 3:15 pm

This is the feedback topic for the twitter button extension

Visit http://extensions.pivotx.net/entry/25/twitterbutton for more info or download.

22-2-2012: The extension's active file contained a typo in the identifier so a new minor version (1.0.3) is released correcting this. This new version will not show up on the dashboard as a new version. Every one is encouraged to download this new version through the link above.
My pivotx playground is at http://jivotx.twokings.eu - the rest is at http://www.jadwigo.nl
jadwigo
Developer
 
Posts: 117
Joined: Wed Nov 18, 2009 9:49 am
Location: Den Haag, Netherlands

Re: Twitter button

Postby verbaljam » Sat Aug 21, 2010 8:37 pm

Nice extension, thanks for that. Only one thing:
I used the following syntax on my entry page: [[ twitterbutton text="Post on Twitter" button="vertical" ]]

The button works (posting to twitter), counter goes to 1 but resets to 0 when I refresh the page.
Is this a glitch or am I doing something wrong?

Using PivotX 2.1 stable
Firefox 3.6.8 for Win.
If you read Dutch, you read Verbal Jam.
Lack of documentation makes even the best program useless...
verbaljam
 
Posts: 143
Joined: Thu Apr 22, 2010 8:32 am
Location: Amsterdam

Re: Twitter button

Postby PvC » Sun Aug 22, 2010 3:37 pm

Great Extension, thanks.
PvC
 
Posts: 74
Joined: Wed Aug 19, 2009 12:07 pm

Re: Twitter button

Postby jadwigo » Tue Aug 24, 2010 1:00 pm

verbaljam wrote:The button works (posting to twitter), counter goes to 1 but resets to 0 when I refresh the page.
Is this a glitch or am I doing something wrong?


Hmm.. sounds like a glitch - do you have an url where we can see what's happening?
My pivotx playground is at http://jivotx.twokings.eu - the rest is at http://www.jadwigo.nl
jadwigo
Developer
 
Posts: 117
Joined: Wed Nov 18, 2009 9:49 am
Location: Den Haag, Netherlands

Re: Twitter button

Postby verbaljam » Tue Aug 24, 2010 4:56 pm

Is it possible that it takes some time before the result shows up?

I click the button: it shows the tweet window, I post the tweet.
The button shows 1.
I refresh the page: the button shows 0.
But when I try another refresh after some time, the 1 is there (don't know if someone else tweeted in the meantime, but don't think so).

You can try all the articles on my weblog if you want: http://verbaljam.nl
It's in Dutch, but 'Lees verder' means 'read more' (to come to the entry page of an article).
If you read Dutch, you read Verbal Jam.
Lack of documentation makes even the best program useless...
verbaljam
 
Posts: 143
Joined: Thu Apr 22, 2010 8:32 am
Location: Amsterdam

Re: Twitter button

Postby Bob » Wed Aug 25, 2010 9:43 am

There _is_ a bug with the title, I see. I'll fix that.

The 'counter' being updated, then not, and then updated again is not a bug I think.. What i think is happening is:
- You post on twitter
- The button immediately updates the counter by 1, to show it was posted
- If you reload the page, it shows the old score, coming from twitter's cached score for this page
- After a while twitters cache is updated with the new score, and that is displayed.
Bob
Lead Developer
 
Posts: 1374
Joined: Tue Nov 20, 2007 11:16 pm

Re: Twitter button

Postby verbaljam » Wed Aug 25, 2010 11:12 am

Ok Bob, thanks for the explanation. I now understand what's happening.
What did you mean by a bug in the title?
If you read Dutch, you read Verbal Jam.
Lack of documentation makes even the best program useless...
verbaljam
 
Posts: 143
Joined: Thu Apr 22, 2010 8:32 am
Location: Amsterdam

Re: Twitter button

Postby Bob » Wed Aug 25, 2010 12:10 pm

If you click the button, it says "Post on Twitter" in the twitter window. you've probably copied the code verbatim from the docs:

[[ twitterbutton text="Post on Twitter" button="vertical" ]]

If you do this, however, the extension always picks up the entries own title:

[[ twitterbutton button="vertical" ]]
Bob
Lead Developer
 
Posts: 1374
Joined: Tue Nov 20, 2007 11:16 pm

Re: Twitter button

Postby verbaljam » Wed Aug 25, 2010 5:05 pm

Thanks very much Bob, I will change that.
If you read Dutch, you read Verbal Jam.
Lack of documentation makes even the best program useless...
verbaljam
 
Posts: 143
Joined: Thu Apr 22, 2010 8:32 am
Location: Amsterdam

Re: Twitter button

Postby ctecha » Fri Sep 03, 2010 8:24 pm

I'm still having this same exact problem with the counter resetting to 0. I waited 3 days and it never updated. What happens is you click the tweet button, the tweet works, and it says Count 1. However as soon as your refresh the page it goes back to 0. I tried to see if this was a caching issue on twitter.com's part but it doesn't seem like it is because I just checked it again today and it still reads 0. Anybody know why this is happening? I need to fix it ASAP for a site I'm putting up and I don't want to go to another tweet button because they aren't as good.

Thanks
ctecha
 
Posts: 3
Joined: Fri Sep 03, 2010 7:54 pm

Next

Return to 2.x Extensions

Who is online

Users browsing this forum: No registered users and 2 guests

cron