TAdvTwitter get origin post

I can get the list of the statuses for a specific user. Some status for this user are replies to other users posts. Is there a way to get the origin status that has originated this reply? I know the origin user screen name with InReplyToScreenName (oddly InReplyToStatusID is always 0, is this a bug??), but how can I get the specific post? InReplyToStatusID and then call GetStatuses for that user and match the ID should be the way.


I'm stuck.

Thanks,
Miguel

Hi,


This issue has been fixed.
The InReplyToStatusID property is now assigned correctly.

The update will be available with the next release of the TMS Cloud Pack.

Hi Bart,


I'm on a deadline building a mood detection method into a demo. Without this I can't use TMS Cloud Packfor Twitter interfacing. The same has already happened for Facebook, where I had to interface the Graph API directly, since your package could do what I needed. 

Can you send this fix by email? I'm a paying customer and I bought TMS Cloud to help with Twitter and FB. If I must interface Twitter directly too I have no use for it.

Thanks,
Miguel

Yes, please send an email to mailto:info@tmssoftware.com with a request for an incremental source update for TAdvTwitter and we'll provide that as fast as possible.

Just did.


Thanks

Hi,


Just replaced CloudTwitter.pas with the one you've sent. From this code:

  AdvTwitter1.Statuses.Clear;
  AdvTwitter1.GetStatuses(100, -1, -1, -1,username);
  Memo2.Lines.Clear;
  for i := 0 to AdvTwitter1.Statuses.Count - 1 do
  begin
    s:= DateTimeToStr(AdvTwitter1.Statuses.Items.CreatedAt) +' -> User.ScreenName:'+AdvTwitter1.Statuses.Items.User.ScreenName+' -> ID:'+IntToStr(AdvTwitter1.Statuses.Items.ID) +' -> Text:'+AdvTwitter1.Statuses.Items.Text+
                    ' -> InReplyToStatusID:'+IntToStr(AdvTwitter1.Statuses.Items.InReplyToStatusID)+
                    ' -> InReplyToID:'+IntToStr(AdvTwitter1.Statuses.Items.InReplyToID)+
                    ' -> InReplyToScreenName:'+AdvTwitter1.Statuses.Items.InReplyToScreenName+
                    ' -> Source:'+AdvTwitter1.Statuses.Items.Source;
    Memo2.Lines.Add(s);
  end;

Now I don't "0" value in "InReplyToStatusID" but I'm getting "4". Is yhis a bug or I'm not converting it properly?

Output:

28-01-2014 02:30:43 -> User.ScreenName:brastemp -> ID:427992104149983232 -> Text:@misterioluz Ivan, por favor, nos envie seus telefones com DDD via DM. Entraremos em contato para ajudar. -> InReplyToStatusID:4 -> InReplyToID:216327057 -> InReplyToScreenName:misterioluz -> Source:<a href="http://www.scup.com.br" rel="nofollow">Scup</a>
28-01-2014 00:31:24 -> User.ScreenName:brastemp -> ID:427962075626090496 -> Text:@goddete Goddete, conforme informamos via facebook, por favor, entre em contato através do telefone 4004-2122 (Capitais) ou 0800 727 2122. -> InReplyToStatusID:4 -> InReplyToID:389499188 -> InReplyToScreenName:goddete -> Source:<a href="http://www.scup.com.br" rel="nofollow">Scup</a>
28-01-2014 00:06:54 -> User.ScreenName:brastemp -> ID:427955909068079104 -> Text:@camendes_ Caroline, nesse caso, é necessário agendar uma visita técnica para avaliação. Por favor, acesse http://t.co/DspecFA7Ia. Obrigada. -> InReplyToStatusID:4 -> InReplyToID:258471869 -> InReplyToScreenName:camendes_ -> Source:<a href="http://www.scup.com.br" rel="nofollow">Scup</a>
27-01-2014 22:35:21 -> User.ScreenName:brastemp -> ID:427932870221758464 -> Text:@paraibahost Verificamos que a nossa equipe está acompanhando a solicitação feita no Reclame Aqui. Por favor, aguarde. Obrigada. -> InReplyToStatusID:4 -> InReplyToID:213112111 -> InReplyToScreenName:paraibahost -> Source:<a href="http://www.scup.com.br" rel="nofollow">Scup</a>
27-01-2014 18:19:29 -> User.ScreenName:brastemp -> ID:427868480147189761 -> Text:@vyktorb Que bom que deu tudo certo! Se precisar, você pode contar com a gente por aqui! E agora, empatamos? -> InReplyToStatusID:4 -> InReplyToID:18677569 -> InReplyToScreenName:vyktorb -> Source:web
27-01-2014 17:11:06 -> User.ScreenName:brastemp -> ID:427851271023120384 -> Text:@viniciusgomes12 Vinicius, estamos providenciando uma solução para o caso. Por favor, aguarde. Obrigada. -> InReplyToStatusID:4 -> InReplyToID:26398695 -> InReplyToScreenName:viniciusgomes12 -> Source:<a href="http://www.scup.com.br" rel="nofollow">Scup</a>
27-01-2014 17:08:20 -> User.ScreenName:brastemp -> ID:427850571593154560 -> Text:@pontofrio @tao_recife Massa mesmo é ter o carinho de vocês, seus lindos! &lt;3 -> InReplyToStatusID:4 -> InReplyToID:16788804 -> InReplyToScreenName:pontofrio -> Source:web

This question was replied to by direct email.