<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Twitter on Yonatan Karp-Rudin</title><link>https://yonatankarp.github.io/he/tags/twitter/</link><description>Recent content in Twitter on Yonatan Karp-Rudin</description><generator>Hugo</generator><language>he</language><lastBuildDate>Wed, 15 Dec 2021 00:00:00 +0100</lastBuildDate><atom:link href="https://yonatankarp.github.io/he/tags/twitter/index.xml" rel="self" type="application/rss+xml"/><item><title>בנו Twitter Bot משלכם עם Kotlin</title><link>https://yonatankarp.github.io/he/blog/build-twitter-bot-kotlin/</link><pubDate>Wed, 15 Dec 2021 00:00:00 +0100</pubDate><guid>https://yonatankarp.github.io/he/blog/build-twitter-bot-kotlin/</guid><description>&lt;p&gt;קראתי מאמר מצוין של &lt;a href="https://medium.com/u/f864d52751a7"&gt;Martin Erlic&lt;/a&gt; בשם &amp;ldquo;&lt;a href="https://medium.com/@SeloSlav/how-to-make-a-scary-russian-twitter-bot-with-java-b7b62768a3ac"&gt;How To Make a Scary Russian Twitter Bot With Java&lt;/a&gt;&amp;rdquo; ורציתי לעדכן אותו עם Kotlin.&lt;/p&gt;
&lt;p&gt;בניגוד למאמר המקורי, אני אשתמש ב-Kotlin — שפת JVM חדשה ומודרנית יותר — ו-Gradle כמערכת ה-build.&lt;/p&gt;
&lt;p&gt;כדי לבנות את ה-bot, עקבו אחרי השלבים הפשוטים האלה:&lt;/p&gt;
&lt;h3 id="שלב-1--יצירת-twitter-application"&gt;שלב 1 — יצירת Twitter Application&lt;/h3&gt;
&lt;p&gt;השלב הראשון הוא ליצור &lt;a href="https://apps.twitter.com/"&gt;Twitter Application&lt;/a&gt; עם חשבון המשתמש שאיתו רוצים לבצע את בקשות ה-API. על ידי יצירת ה-Twitter application, נקבל את ה-API key וה-API secret שבהם נשתמש מאוחר יותר לאימות ה-bot שלנו עם Twitter.&lt;/p&gt;</description></item></channel></rss>