[Intelmq-dev] using the intelmq twitter bot
L. Aaron Kaplan
kaplan at cert.at
Mon Jul 16 16:26:18 CEST 2018
> On 16 Jul 2018, at 16:16, Salehi Ghamsari, Majid <majid.salehi.ghamsari at fokus.fraunhofer.de> wrote:
>
> Hi there,
>
> I try to get the CVEs from this twitter page https://twitter.com/CVEnew but i get an exception that
> “that page does not exist”
> >target_timelines: screen_names of twitter accounts to be followed
>
> What should I put for target_timelines parameter?
what's the purpose of fetching CVEs from within intelmq?
Curious...
>
> I do not know what I am missing.
>
> In the documentation we have to put for each bot parameters some examples input for better understanding the parameters.
> https://github.com/certtools/intelmq/blob/develop/docs/Bots.md#twitter
>
>
> Thank you for your help
>
> Majid Salehi Ghamsari
> Digital Public Services (DPS)
> Fraunhofer Institute for Open Communication Systems
> Kaiserin-Augusta-Allee 31, 10589 Berlin, Germany
> Email: majid.salehi.ghamsari at fokus.fraunhofer.de
> Office: +49 (0) 30 3463 7118
> Skype: salehimajid
> WEB: fokus.fraunhofer.de
>
>
>
> "cve-twitter-collector": {
> "parameters": {
> "feed": "Twitter",
> "target_timelines": "https://twitter.com/CVEnew ",
> "tweet_count": 10,
> "timelimit": 60000,
> "include_rts": false,
> "exclude_replies": true,
> "follow_urls": "",
> "consumer_key": "myconsumer_key ",
> "consumer_secret": "myconsumer_secret ",
> "access_token_key": "myaccess_token_key ",
> "access_token_secret": "myaccess_token_secret "
> },
> "name": "Twitter",
> "group": "Collector",
> "module": "intelmq.bots.collectors.twitter.collector_twitter",
> "description": "Collects tweets from target_timelines. Maximum number of tweet_count from each timeline and up to timelimit back in time.",
> "enabled": true,
> "run_mode": "continuous"
> }
>
>
> Traceback (most recent call last):
> File "/opt/dev_intelmq/intelmq/lib/bot.py", line 167, in start
> self.process()
> File "/opt/dev_intelmq/intelmq/bots/collectors/twitter/collector_twitter.py", line 94, in process
> exclude_replies=self.exclude_replies)
> File "/usr/local/lib/python3.6/dist-packages/twitter/api.py", line 810, in GetUserTimeline
> data = self._ParseAndCheckTwitter(resp.content.decode('utf-8'))
> File "/usr/local/lib/python3.6/dist-packages/twitter/api.py", line 4890, in _ParseAndCheckTwitter
> self._CheckForTwitterError(data)
> File "/usr/local/lib/python3.6/dist-packages/twitter/api.py", line 4910, in _CheckForTwitterError
> raise TwitterError(data['errors'])
> twitter.error.TwitterError: [{'code': 34, 'message': 'Sorry, that page does not exist.'}]
> _______________________________________________
> Intelmq-dev mailing list
> Intelmq-dev at lists.cert.at
> https://lists.cert.at/cgi-bin/mailman/listinfo/intelmq-dev
--
// L. Aaron Kaplan <kaplan at cert.at> - T: +43 1 5056416 78
// CERT Austria - https://www.cert.at/
// Eine Initiative der nic.at GmbH - http://www.nic.at/
// Firmenbuchnummer 172568b, LG Salzburg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.cert.at/pipermail/intelmq-dev/attachments/20180716/426a0094/attachment.sig>
More information about the Intelmq-dev
mailing list