Ticket #493 (closed Task: fixed)

Opened 7 years ago

Last modified 7 years ago

twitter research

Reported by: JuergeN Owned by: Malte
Priority: Major Milestone:
Component: 3rd Party Plugins Version: 4.1
Keywords: Cc:
Complexity: 3 Area:
Module:

Description

Hi Malte,

I have just downloaded the latest DM 4 snapshot and installed your twitter research plugin version 1.1 from nightly builds. To me it seems that nothing happens when I enter a search. But I don't really know how to use the form and also i could not find any explanation or examples on this. Could you help me please? Thx JuergeN

Attachments

twitter-research-1.2-SNAPSHOT.jar (51.1 KB) - added by Malte 7 years ago.
Twitter Research Plugin 1.2-SNAPSHOT Release

Change History

comment:1 Changed 7 years ago by Malte

Hi JuergenN!

Please note: The Twitter-Research Plugin 1.1 (also it's current nighly-builds) are developed to just work with the latest stable version, DeepaMehta 4.1, since the nightly builds of DeepaMehta are undergoing development changes nearly every day. When I release plugins I try to make sure to support (at least) the latest available stable binary release of DM, since for them there shall be migration of end user-data.

The most simple usage, after a successfully installation of the Twitter-Research plugin consists of the following steps:

  1. "Create" -> "Twitter Search" (probably you want to switch to the new "Twitter Research"-workspace before)
  2. Enter "Search Query" into the designated user-input field
  3. Press "Search" (or a button labelled like that)
  4. An "Asking https://search.twitter.com" should appear in DeepaMehta's Page Panel, until the result is returned, (which might take some seconds).

I hope this helps, and tell me where you're stucked, I try to help where I can, and thanks for your report.

comment:2 Changed 7 years ago by JuergeN

I have just copied the plugin to my stable instance of DM 4.1. Same result here. Nothing happens. So I have copied the search string from the log file into my browser:

 https://search.twitter.com/search.json?q=%23freifunk;&rpp=100;&include_entities=true;&result_type=mixed;&lang=eu;&geocode=anywhere;

result:

{"errors": [{"message": "The Twitter REST API v1 is no longer active. Please migrate to API v1.1. https://dev.twitter.com/docs/api/1.1/overview.", "code": 68}]}

Maybe that helps?

comment:3 Changed 7 years ago by Malte

Thanks JuergenN for your investigation, this surely helps.

So, as it looks now, the underlying service was moved out of the way by Twitter Inc. faster than I thought it would be.

I will have to adapt the twitter-research plugin to the new version of the Twitter Search-API and luckily, after a first look into the docs there, it' shouldn't be a big switch, but it still is some work.

I will keep you update here when' my work is available in the nightly-build, tested and working with 4.1, resp. 4.1.1-SNAPSHOT (i will let you know then) and sorry for the inconvenience.

comment:4 Changed 7 years ago by JuergeN

Hi Malte, I am just curious: Are there any updates on this ticket?

comment:5 Changed 7 years ago by Malte

Hey JuergenN, sorry, no update available yet. I'll see how lucky I feel tonight but otherwise I am able for some freestyle-work again after next week. Thanks for asking.

comment:6 Changed 7 years ago by Malte

For this applicaton is a major update available by now at https://github.com/mukil/twitter-research which is compatible with DeepaMehta 4.1.2.

Please check the README in the github-repo for all new usage hints and if you need, I can send you some Twitter Application API Credentials (that's the new style there, to authenticate any API Request via OAuth2).

Please report the glitches.

comment:7 Changed 7 years ago by Malte

For example: A rendering glitch comes along with the new dm4-caching module. To view updates on a "Twitter Search" topic in DeepaMehtas? "Detail Panel" (e.g. after issueing a "Load More" or "Refresh" command) you have to "SHIFT + RELOAD" the page/selected topic, otherwise the aggregated "Tweets" and the "Search Result Size" one seess rendered in the "Detail Panel" is not the actual one/ is outdated but not served due to the powerful features of DM's caching module.

I'll try to fix this for the final release.

Last edited 7 years ago by Malte (previous) (diff)

Changed 7 years ago by Malte

Twitter Research Plugin 1.2-SNAPSHOT Release

comment:8 Changed 7 years ago by Malte

Since Jenkins doesnt like my plugin configraition, resp. cannot build a plugin via deepamehta-plugin-parent which is referencing DM 4.1.2, here it is, the first SNAPSHOT buid. I would be happy if you could give it a test-drive soon.

comment:9 Changed 7 years ago by JuergeN

Hi Malte, I have installed your plugin and did some first tests. So far it seems to do what it should do. Btw here is a useful link for newbies like me: https://dev.twitter.com/discussions/631 on how to generate the requested key and secret for the app.

comment:10 Changed 7 years ago by Malte

  • Status changed from new to closed
  • Resolution set to fixed

Nice JuergenN.

Though I still have an issue that for some "Twitter Searches" the designated multi_renderer for (aggregated) "Tweets" is not showing up at all, I will bundle the 1.2 release soon and consider this as stable.

I will investigate this strange multi_renderer issue with jri at another day and time and close this ticket now.

Thank you very much for giving it a try and your helping hand here.

comment:11 Changed 7 years ago by Malte

Hey juergen, I incorporated the discussion link you provided into the projects README-file.

Thank you for your help. Tomorrow the final release will be build and I will then announce it on the developers and/or users-list.

Cheers!

Note: See TracTickets for help on using tickets.