简体   繁体   English

Twitter4J鸣叫实体?

[英]Twitter4J tweet entities?

I'm using Twitter4J for getting search results back from Twitter. 我正在使用Twitter4J从Twitter返回搜索结果。 I recently heard about a feature called tweet-entities and according to some posts on the mailing list of Twitter4J it is supported but I can't seem to find any examples or figure out how to set my searches to include entities. 我最近听说了一个名为tweet-entities的功能,根据Twitter4J邮件列表上的一些帖子,该功能受支持,但是我似乎找不到任何示例或弄清楚如何设置搜索以包含实体。 How do I achieve this? 我该如何实现? I'm searching twitter by using something like the following... 我正在使用类似以下内容搜索Twitter ...

 twitter.search("Searching Twitter with this query");

where twitter is of type Twitter twitter是Twitter类型的

It seems this is not yet supported by twitter4j. 似乎twitter4j尚不支持此功能。 You can create an issue for that. 您可以为此创建一个问题。 The functionality is still fresh in the twitter API, so perhaps it will appear in the next release of twitter4j. 该功能在twitter API中仍然是新鲜的,因此也许它将出现在下一个twitter4j版本中。

In all other API requests (apart from search) the entities are included by default. 在所有其他API请求中(搜索除外),默认情况下都包含实体。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM