douba4275 2018-07-31 15:04
浏览 11

too long

I've been using twitter api for a while and I'm still looking for some way to implement a download method for DMs at conversation DM.

My code looks like this in this moment:

$connection->request('GET', $connection->url('1.1/direct_messages'),///events/list'), 
          array('include_entities' => 'true',
            'count' => 100,
            'since_id' => $since_id));

I've both tried old direct_messages and new events/list endpoints, but seems that I'm unable to download conversational messages. For example:

DM between person A and B:
A: Hi
B: Hello

DM between person A, B and C:
A: Hi converstion 2
B: Hello conversation 2
C: I'm new!

I expect to get some list like:
[Hi, Hello, Hi conversation 2, Hello conversation 2, I'm new!]

But I get:
[Hi, Hello]

Is there any way to handle this? I can't find the reason why I can't get messages from the conversation from 3 or more twitter users...

Thanks in advance!

  • 写回答

1条回答 默认 最新

  • douliao7354 2018-07-31 16:53
    关注

    The Twitter API does not support group messaging. This feature is only available through the web site.

    评论

报告相同问题?

悬赏问题

  • ¥15 uniapp uview http 如何实现统一的请求异常信息提示?
  • ¥15 目详情-五一模拟赛详情页
  • ¥15 有了解d3和topogram.js库的吗?有偿请教
  • ¥100 任意维数的K均值聚类
  • ¥15 stamps做sbas-insar,时序沉降图怎么画
  • ¥15 买了个传感器,根据商家发的代码和步骤使用但是代码报错了不会改,有没有人可以看看
  • ¥15 关于#Java#的问题,如何解决?
  • ¥15 加热介质是液体,换热器壳侧导热系数和总的导热系数怎么算
  • ¥100 嵌入式系统基于PIC16F882和热敏电阻的数字温度计
  • ¥15 cmd cl 0x000007b