Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversations in search view #122

Closed
fuksi opened this issue Jun 6, 2015 · 5 comments
Closed

Conversations in search view #122

fuksi opened this issue Jun 6, 2015 · 5 comments

Comments

@fuksi
Copy link
Contributor

fuksi commented Jun 6, 2015

From twitter search, you can browse the conversation and reply to a certain tweet in the conversation.
Technically they are not 'replies', they are just tweet, that mention at least the OP and related to a certain tweet.

With only status ID, I can't yet evaluate the relations between tweets to make a conversation.
@Orbiter what do you think?

Quick example: https://twitter.com/codinghorror/status/606680573625696256
image

@sudheesh001
Copy link
Member

👍

@Orbiter
Copy link
Contributor

Orbiter commented Jun 6, 2015

right now I don't have a data structure ready to have references for the conversation. The only option I see right now is, to simulate a conversation history by just doing a query for the name of the conversation starter, like here: search for @codinghorror and restrict it with from: to the date of the conversation starter and with until: to a date not more than 24h after the conversation startet. Furthermore, the query must be done with source=cache because otherwise the query goes to the scraper and twitter does not understand since and until.

Example:
http://localhost:9100/api/search.json?timezoneOffset=-120&q=%40codinghorror+since%3A2015-06-05+until%3A2015-06-06&source=cache

Thats a hack :) - I try to get correct references. Please use the hack meanwhile..

@Orbiter Orbiter added this to the Milestone 2 milestone Jun 9, 2015
@fuksi
Copy link
Contributor Author

fuksi commented Jun 9, 2015

I can't go with this hack now, because

  • In a search result, a particular user tends to appear again and again as he/she posts tweet regularly. 24h would mix up things
  • Some reply start with @codinghorror, some are just mentioning him in a totally separated tweet, and then there are also RT.

I set this as low priority since default search result doesn't show conversation as the moment, unless the user is curious enough.

@Orbiter
Copy link
Contributor

Orbiter commented Jun 14, 2015

I can follow your criticism, however I cannot see any other way to go unless we use the twitter api to retrieve the 'real' conversation. I will investigate a way to identify conversation details from the scraper and also to add a field for a conversation history. Maybe also a different query constraint or modifier is necessary.
Related issues in loklak_server: loklak/loklak_server#49 and loklak/loklak_server#50

@mariobehling
Copy link
Member

We need to adapt to new implementations of conversation views and discuss this in a new issue as things have changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants