Author Topic: Twitter protocol - retweets are missing tweet body  (Read 8116 times)

0 Members and 1 Guest are viewing this topic.

Offline omniwolf

  • Newbie
  • *
  • Posts: 13
Hi guys,

Just updated to the development set of plugins (I'm using the plugin updater and chose development, so i'm not running a mix of prod and dev).
I have noticed that the twitter protocol now truncates retweets.
Where it should say:

abcnews: RT @abcnewsPerth Perth news newsy news blah blah

it just says:

abcnews: RT @abcnewsPerth

All retweets seem to have this issue - the message only contains the tweeter's name, but not their actual tweet.
I'm using the group chat feature, if that helps.

Thanks.
 

Offline omniwolf

  • Newbie
  • *
  • Posts: 13
Re: Twitter protocol - retweets are missing tweet body
« Reply #1 on: 02 07 2015, 00:06:49 »
bump!

If i reload the non development version of miranda and twitter, then retweets work again, so i know it's not a Twitter API issue, it's a miranda issue.
I had a quick look at the source, the RT code is from line 228 in the twitter.cpp code.  Ghazan made some changes to this code about 5 weeks ago here:

http://trac.miranda-ng.org/changeset/13835/

and i guess he didn't test it. 
 

Offline Wishmaster

Re: Twitter protocol - retweets are missing tweet body
« Reply #2 on: 02 07 2015, 10:18:24 »
http://trac.miranda-ng.org/changeset/13835/ and i guess he didn't test it.
Hm, I don't use Twitter, but quickly looking at that commit, it seems to be correct (assuming that the previous code worked, I didn't check the exact JSON format). Maybe I'll add some more logging.
 

Offline Robyer

Re:Twitter protocol - retweets are missing tweet body
« Reply #3 on: 03 07 2015, 07:10:28 »
I think it didn't worked even before. I was using twitter plugin for few months and I never saw correct retweet's text (at least I don't remember that). So it must be older change...
I was developing mainly Facebook, Omegle, Steam, Dummy and MobileState plugins. Now I'm retired. Goodbye, everyone. ~ You can still find me on Facebook.
 

Offline Wishmaster

Re: Twitter protocol - retweets are missing tweet body
« Reply #4 on: 03 07 2015, 19:04:40 »
I believe I fixed it, here is x64 version, please test!

PS: It was appearently r13248 (after "// here we grab the "retweeted_status" um.. section?  it's in here that all the info we need is")
« Last Edit: 03 07 2015, 19:19:48 by Wishmaster »
 

Offline Robyer

Re: Twitter protocol - retweets are missing tweet body
« Reply #5 on: 03 07 2015, 20:53:05 »
Wishmaster, could you maybe commit your changes?

Or provide also 32 bit version, please. :)
I was developing mainly Facebook, Omegle, Steam, Dummy and MobileState plugins. Now I'm retired. Goodbye, everyone. ~ You can still find me on Facebook.
 

Offline Wishmaster

Re: Twitter protocol - retweets are missing tweet body
« Reply #6 on: 03 07 2015, 20:57:05 »
Wishmaster, could you maybe commit your changes? Or provide also 32 bit version, please. :)
Done :)
 

Offline Robyer

Re: Twitter protocol - retweets are missing tweet body
« Reply #7 on: 04 07 2015, 04:25:53 »
Wishmaster, hmm, probably it's still not fixed.

I'm seeing just "RT @ " as content of retweeted tweets.
I was developing mainly Facebook, Omegle, Steam, Dummy and MobileState plugins. Now I'm retired. Goodbye, everyone. ~ You can still find me on Facebook.
 

Offline Wishmaster

Re: Twitter protocol - retweets are missing tweet body
« Reply #8 on: 04 07 2015, 06:52:38 »
Please try this patch
 

Offline Wishmaster

Re: Twitter protocol - retweets are missing tweet body
« Reply #9 on: 06 07 2015, 17:20:59 »
Please try this patch
Okay, I just comitted it. Please give feedback.
 

Offline omniwolf

  • Newbie
  • *
  • Posts: 13
Re: Twitter protocol - retweets are missing tweet body
« Reply #10 on: 07 07 2015, 03:41:41 »
If you can post a 64bit compilation i can test
 

Offline watcher

Re: Twitter protocol - retweets are missing tweet body
« Reply #11 on: 07 07 2015, 06:53:54 »
omniwolf, you can already test it, its in updater, check for updates.
Пожалуйста, внимательно прочтите правила постинга перед тем, как открыть новую тему.
Please read forum rules.
 

Offline omniwolf

  • Newbie
  • *
  • Posts: 13
Re: Twitter protocol - retweets are missing tweet body
« Reply #12 on: 08 07 2015, 23:35:28 »
hmm i tried and there was no update, but it's come through this morning.
The issue is fixed, thanks :)