We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 589db0d commit 97fc096Copy full SHA for 97fc096
examples/delete_media.py
@@ -9,11 +9,13 @@
9
10
from InstagramAPI import InstagramAPI
11
12
-username = '' #change this
13
-password = '' #change this
+# change this username & password
+username = 'your_username_here'
14
+password = 'your_password_here'
15
16
ig = InstagramAPI(username, password)
17
18
+# login
19
ig.login()
20
21
# get Self user feed
@@ -28,7 +30,7 @@
28
30
29
31
# get media ID
32
-MediaID = Media['pk']
33
+MediaID = Media['id']
34
MediaType = Media['media_type']
35
36
# call deleteMedia Method
0 commit comments