Flattr Button not showing correct numbers

Creating and modifying plugins.
Post Reply
schimanke
Regular
Posts: 161
Joined: Mon Jan 07, 2008 4:38 pm
Location: Hameln, Germany
Contact:

Flattr Button not showing correct numbers

Post by schimanke »

Hi,

I've been using the flattr-plugin quite a long time now. However, it always shows a "0" on the button in my blog (www.schimanke.com). But when I log in to flattr.com, I can see that several users have flattred me. How does this happen?

Regards,
Flo
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Flattr Button not showing correct numbers

Post by garvinhicking »

Hi!

The output comes from flattr themselves, so you might need to contact them to ask what could be the problem. The JS call itself does seem alright to me...

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
schimanke
Regular
Posts: 161
Joined: Mon Jan 07, 2008 4:38 pm
Location: Hameln, Germany
Contact:

Re: Flattr Button not showing correct numbers

Post by schimanke »

I might have found the cause of the problem. Up to now it is just a guess but could it be related to the question mark (?) in the URL? Here is what I have experienced with some of my buttons (flattr, Facebook, Twitter):

My URL looks for example like this: http://www.schimanke.com/index.php?/arc ... -3910.html

As you can see, there is always a question mark after "index.php". When I now flattr an article everything works fine, but the button count does not go up. Anyway, testing it with a static URL, leaving out the question mark, the correct number is shown.

I have also tried this with my Facebook and Twitter buttons. Using a URL without question marks leads to a correct number. Using a URL with question mark leads to a zero in the count. To me it seems that the "count URL" gets cut when teh question marks occurs. For example when I use the Twitter button the correct link (for example http://www.schimanke.com/index.php?/arc ... -3910.html) is tweeted, but the tweet-count only looks for http://www.schimanke.com/index.php.

Since I can use a static URL without the question mark is there any way to leave it away? Is it needed for something?

@Garvin: Do you think this is really the cause of my problem?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Flattr Button not showing correct numbers

Post by garvinhicking »

Hi!

If that "?" were the cause of this, then facebook/flattr definitely would need to change that, because "?" is perfectly valid in the URL and a unique identifier! Many sites do not support URL rewriting, so things like index.pph?id=XX would be required.

I'd also think that I've already seen working FB/Flattr integrations of blogs that use the "?" URL method...

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
schimanke
Regular
Posts: 161
Joined: Mon Jan 07, 2008 4:38 pm
Location: Hameln, Germany
Contact:

Re: Flattr Button not showing correct numbers

Post by schimanke »

Okay, it was just a guess up to now since I experienced some similar behaviour with my facebook like-buttons (http://board.s9y.org/viewtopic.php?f=4&t=16668). If I could get URL rewriting to work, I will see if my guess was right...
Post Reply