<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
code
{mso-style-priority:99;
font-family:"Courier New";}
span.EmailStyle18
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">ok I have found the solution, to get the tweets
</span><span lang="EN-US"><a href="https://twitter.com/CVEnew">https://twitter.com/CVEnew</a><o:p></o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US">></span></b><code><b><span lang="EN-US" style="font-size:10.0pt">target_timelines</span></b></code><b><span lang="EN-US">: screen_names of twitter accounts to be followed<o:p></o:p></span></b></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">must be <b>CVEnew and not the url itself.<o:p></o:p></b></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></b></p>
<p class="MsoNormal"><b><span lang="EN-US" style="color:#1F497D">Regards majid</span></b><span lang="EN-US" style="color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US"><o:p> </o:p></span></b></p>
<p class="MsoNormal"><span style="mso-fareast-language:DE"><img border="0" width="811" height="698" id="Picture_x0020_1" src="cid:image001.png@01D41DB4.346DD900"></span><b><span lang="EN-US"><o:p></o:p></span></b></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="mso-fareast-language:DE">From:</span></b><span lang="EN-US" style="mso-fareast-language:DE"> Intelmq-dev [mailto:intelmq-dev-bounces@lists.cert.at]
<b>On Behalf Of </b>Salehi Ghamsari, Majid<br>
<b>Sent:</b> Montag, 16. Juli 2018 16:16<br>
<b>To:</b> intelmq-dev@lists.cert.at<br>
<b>Subject:</b> [Intelmq-dev] using the intelmq twitter bot<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hi there,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US">I try to get the CVEs from this twitter page
<a href="https://twitter.com/CVEnew">https://twitter.com/CVEnew</a> but i get an exception that<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">“that page does not exist”<o:p></o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US">></span></b><code><b><span lang="EN-US" style="font-size:10.0pt">target_timelines</span></b></code><b><span lang="EN-US">: screen_names of twitter accounts to be followed<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span lang="EN-US"><o:p> </o:p></span></b></p>
<p class="MsoNormal"><span lang="EN-US">What should I put for target_timelines parameter?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I do not know what I am missing.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">In the documentation we have to put for each bot parameters some examples input for better understanding the parameters.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><a href="https://github.com/certtools/intelmq/blob/develop/docs/Bots.md#twitter">https://github.com/certtools/intelmq/blob/develop/docs/Bots.md#twitter</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Thank you for your help<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-family:"Courier New";color:#1F497D;mso-fareast-language:DE">Majid Salehi Ghamsari</span></b><span lang="EN-US" style="color:black;mso-fareast-language:DE"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New";color:#1F497D;mso-fareast-language:DE">Digital Public Services (DPS)</span><span lang="EN-US" style="color:black;mso-fareast-language:DE"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New";color:#1F497D;mso-fareast-language:DE">Fraunhofer Institute for Open Communication Systems</span><span lang="EN-US" style="color:black;mso-fareast-language:DE"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New";color:#1F497D;mso-fareast-language:DE">Kaiserin-Augusta-Allee 31, 10589 Berlin, Germany</span><span lang="EN-US" style="color:black;mso-fareast-language:DE"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New";color:#1F497D;mso-fareast-language:DE">Email:
<a href="mailto:majid.salehi.ghamsari@fokus.fraunhofer.de" target="_blank">majid.salehi.ghamsari@fokus.fraunhofer.de</a></span><span lang="EN-US" style="color:black;mso-fareast-language:DE"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New";color:#1F497D;mso-fareast-language:DE">Office: +49 (0) 30 3463 7118</span><span lang="EN-US" style="color:black;mso-fareast-language:DE"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New";color:#1F497D;mso-fareast-language:DE">Skype: salehimajid</span><span lang="EN-US" style="color:black;mso-fareast-language:DE"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New";color:#1F497D;mso-fareast-language:DE">WEB: fokus.fraunhofer.de</span><span lang="EN-US" style="color:black;mso-fareast-language:DE"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> "cve-twitter-collector": {<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> "parameters": {<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> "feed": "Twitter",<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> "target_timelines": "<a href="https://twitter.com/CVEnew%20">https://twitter.com/CVEnew
</a>",<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> "tweet_count": 10,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> "timelimit": 60000,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> "include_rts": false,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> "exclude_replies": true,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> "follow_urls": "",<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> "consumer_key": "myconsumer_key ",<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> "consumer_secret": "myconsumer_secret ",<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> "access_token_key": "myaccess_token_key ",<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> "access_token_secret": "myaccess_token_secret "<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> },<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> "name": "Twitter",<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> "group": "Collector",<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> "module": "intelmq.bots.collectors.twitter.collector_twitter",<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> "description": "Collects tweets from target_timelines. Maximum number of tweet_count from each timeline and up to timelimit back in time.",<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> "enabled": true,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> "run_mode": "continuous"<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> }<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><br>
<span style="background:yellow;mso-highlight:yellow">Traceback (most recent call last):<br>
File "/opt/dev_intelmq/intelmq/lib/bot.py", line 167, in start<br>
self.process()<br>
File "/opt/dev_intelmq/intelmq/bots/collectors/twitter/collector_twitter.py", line 94, in process<br>
exclude_replies=self.exclude_replies)<br>
File "/usr/local/lib/python3.6/dist-packages/twitter/api.py", line 810, in GetUserTimeline<br>
data = self._ParseAndCheckTwitter(resp.content.decode('utf-8'))<br>
File "/usr/local/lib/python3.6/dist-packages/twitter/api.py", line 4890, in _ParseAndCheckTwitter<br>
self._CheckForTwitterError(data)<br>
File "/usr/local/lib/python3.6/dist-packages/twitter/api.py", line 4910, in _CheckForTwitterError<br>
raise TwitterError(data['errors'])<br>
twitter.error.TwitterError: [{'code': 34, 'message': 'Sorry, that page does not exist.'}]</span><o:p></o:p></span></p>
</div>
</body>
</html>