from sys import argv

from AutoShareFacebook import AutoShare

script, post_url = argv
#can access variable post_url
caption_text = raw_input("Type the caption here: ")

auto = AutoShare()

auto.auth(uname='sameer.kumar018', passd='johncena2')
auto.process(post_url=post_url, caption_text=caption_text)






from sys import argv

from AutoShareFacebook import AutoShare

script, post_url = argv
#can access variable post_url
caption_text = raw_input("Type the caption here: ")

auto = AutoShare()

auto.auth(uname='', passd='')
auto.process(post_url=post_url, caption_text=caption_text)






Update run.py