Professional Documents
Culture Documents
(;
9<,&>%-3*'-,?
6-:2%)#+).232C21&
4:.(&&2>(:C(
H:>2:(()9#I1:.)2F
$%&&%'
,&-.+#-/(0.&1(2.+3&-/1(%.1
4#2/5..6(2.++/7-
MX
/0123-*&15 6-̕#7878 · 7#52:#)(1;
<%=()#251>(#3)%5#0..?*@AA'1&&01=(:BCCA
This article will explain the step by step procedure of building a python
script which will automatically comment in a FB post. Make sure that you
are not spamming or harm anyone with this python script.
!"#"#$%&'&(#)
You will be required to install Python 3.6 or above on your PC or laptop.
Here are the list of libraries you’ll be required to install —
*+'(,--,(&.+)
Considering you’ve already installed Python 3.6 or above on your PC or
laptop. In this part, I’m going to explain only the installation of pyautogui.
/&+0.1')
On Windows, it is much easier to install and use the PyAutoGUI. On
windows, you can install it from the PyPI using pip if you have pip installed.
2'34)
On Os X, you need to install some extra modules to be able to run
PyAutoGui.
5&+%6)
On Linux, You may have to install some packages.
7#((&+839(,"(#0)
First, you've to import the necessary packages. In this script, we’ll import
two necessary packages.
import pyautogui
import time
Now, We’ll make a python list where we will store all our comments. I’m
storing some questions on the comments variable. You can make your list as
your own interest.
Now we’ll set a timestamp for delaying 5 seconds so that in the meantime
we can set our cursor on the desired point.
time.sleep(5)
Finally, we’ll execute a loop so that all the comments in the list will
automatically post as a comment serially on Facebook.
for i in range(len(comments)):
pyautogui.typewrite(comments[i])
pyautogui.typewrite("\n") # For pressing the Enter button
time.sleep(3)
That’s all. Now just run/execute the script and put your cursor on the
Facebook comment box within 5 seconds after running the script. It’ll
automatically start commenting on this post.
:;.%(3(<#3:%(<.")
Shaiful Islam is a Data Science Enthusiast. Currently, working as a Junior
Arti<cial Intelligence Programmer at Zantrik. Follow me on LinkedIn,
Facebook, and Twitter
MX#
=."#3>".?39<,&>%-3*'-,? $%&&%'
6-:2%)#+).232C21:.(&&2>(:C(#H:>2:(()9#I1:.)2F
6-&#JK9#7878
!ডটা(সাই'(ও(!মিশন(লা.ন/ং(ক2ািরয়ার(5র6র(পথ8
িনেদ;িশকা
পৃিথবীেত এ পয+, যত -ডটা 1তির হেয়েছ তার ৯০% 1তির হেয়েছ 8ধ: মা< গত ২ বছের।
িবে?র বড় বড় AিতBান এখন অেনক -বিশ তথH 1তির করেছ। AিতBানIেলা চাইেছ এসব
তথH িবেNষণ কের কােজ লাগােত। ফেল -ডটা সােয়েS িবেশষT কমীUর চািহদা বHাপক
আকাের বাড়েছ। আমার XY Tানভা[ার -থেক িকছ: িরেসাস+ সহ -ডটা সাইেS কHািরয়ার
8র\র পথ-িনেদ+িশকা আপনােদর সামেন উপ^াপন করিছ। সেব+াপির আিম
িজিনসIেলােক ৩ ` ভােগ ভাগ কেরিছ।
জুিনয়র3@১ম3ও3২য়3বেষ.র3জন/A
-য -কান এক` -Aাaািমং লHাcুেয়েজর -বিসক -শষ কের Aেeম সিfং এ -নেম পেরন। 8র\র
জনH URI, Hackerrank িনেজেক যাচাই ও দhতা এiাই করার জনH, Codeforces,
Codechef, Topcoder সতর্কতাঃ এখা-ন Aথেম আপনার অেনক kােlশন আসেব।…
L(1;#5%)(#·#7#52:#)(1;
M!
=."#3B".?3=#0&%?