Sorry, the forums are locked while I handle some maintenance.

 
This Forum is Currently Locked – Access is Read Only
You must be logged in to post Login


Lost Your Password?

Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

'New' Snowflake status IDs broken in Twitter Widget Pro

No Tags
UserPost

1:20 pm
November 11, 2010


jeennauta@hotmail.com

The Netherlands

Member

posts 5

Post edited 12:55 am – November 12, 2010 by jeennauta@hotmail.com


It looks like Twitter Widget Pro can't handle the 'new' style Snowflake generated Twitter status IDs.

The 'old' 11 digit long ones render just fine, but the 'new' ones which are 16 digits in length are being displayed wrong and consequently, the status links are broken. You can see this in action at my weblog at http://www.jeensworld.nl. The IDs are being displayed in what looks like scientific notation. :-P I first noticed the problem on November 5, shortly after Snowflake went live. It was fine the day before, as you can see in this cached version of the site: http://webcache.googleusercontent.com/se…..=firefox-a

Could you look into this please? I'm quite sure that this is the cause of these broken status IDs.

Thanks in advance. :-)

4:27 am
November 13, 2010


jeennauta@hotmail.com

The Netherlands

Member

posts 5

Post edited 7:29 am – November 13, 2010 by jeennauta@hotmail.com


Another user e-mailed me a possible solution which works for him as well as for me, so I thought I'd share it here:

When logged into WordPress:

1) Go to Plugins > Twitter Widget Pro > Edit

2) Make sure that the correct file is opened:

"twitter-widget-pro/wp-twitter-widget.php"

3) Search the code for the word "statuses" and you'll find the following text:

"http://twitter.com/{$tweet->user->screen_name}/statuses/{$tweet->id}"

4) Replace the text "id" with "id_str"

"http://twitter.com/{$tweet->user->screen_name}/statuses/{$tweet->id_str}"

5) Save the file with the "Update File" button

That should do the trick. Many thanks to Thomas Vochten.

8:57 am
November 23, 2010


Christopher

New Member

posts 1

I would like to second this fix. We were alerted to this issue this morning and were able to quickly update the code to use the proper links instead of the exponential equivalent (resulting in an error when clicked).

 

Thanks for your help.

No Tags

About the Xavisys Forum

Forum Timezone: America/Phoenix

Most Users Ever Online: 50

Currently Online:
1 Guest

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 3
Forums: 26
Topics: 410
Posts: 1034

Membership:

There are 808 Members
There has been 1 Guest

There are 2 Admins
There is 1 Moderator

Top Posters:

lkmweb@me.com – 9
Brayne – 8
Xarzu – 8
Aaron Fineman – 8
Iain – 8
checox7@yahoo.com – 6

Recent New Members: jane@janeparkinson.com, waimalao@hotmail.com, Raffael, esparkinfo@esparkinfo.com, hgof520@hotmail.com, neunkirchen@gmail.com

Administrators: AaronCampbell (242 Posts), Imported Questions (1 Post)

Moderators: nancy@mequoda.com (0 Posts)