Automator 2 Posted February 13, 2016 Report Share Posted February 13, 2016 Hi guys, I want to make google account automation. As it is PVA then how i can use twilio plugin to get that done? I mean how i can get a new number from this plugin and type it in google form and then get verification code from this plugin? Thanks in advance I don't think this will work for google verifications will it? Usually when you try to phone verify a google account or a maps listing (GMB listing) twilio does not work. Or is that what this is for? Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted February 13, 2016 Author Report Share Posted February 13, 2016 its a toss up every time, you never know if a number has already been used and abused with any network. I have had some work, and others not work. more so they dont work for PVA on most major networks. Quote Link to post Share on other sites
BigEfromDaBX 25 Posted May 20, 2019 Report Share Posted May 20, 2019 Trying to get this plugin to work but says it says "upgrade required" even after I upgrade my twilio account to a paid version. Trying to get this plugin to work but says it says "upgrade required" even after I upgrade my twilio account to a paid version. Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted May 20, 2019 Author Report Share Posted May 20, 2019 Im looking at possibly upgrading the api library for twilio, but not sure if it would be worth it based on time for a plugin that I've been giving away for so long now. Quote Link to post Share on other sites
BigEfromDaBX 25 Posted May 20, 2019 Report Share Posted May 20, 2019 Im looking at possibly upgrading the api library for twilio, but not sure if it would be worth it based on time for a plugin that I've been giving away for so long now. Understood. Just wanted to make sure it wasnt something I was doing wrong on my end. I will try to make it happen on my own. Thanks. Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted May 20, 2019 Author Report Share Posted May 20, 2019 yeah they do have http post options that are pretty simple to setup as well. Quote Link to post Share on other sites
BigEfromDaBX 25 Posted May 20, 2019 Report Share Posted May 20, 2019 yeah they do have http post options that are pretty simple to setup as well.So your saying I can do it with my http post plugin? Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted May 20, 2019 Author Report Share Posted May 20, 2019 yes Quote Link to post Share on other sites
ptlrc 2 Posted September 5, 2019 Report Share Posted September 5, 2019 can u share your upgraded version of twilio plugin Quote Link to post Share on other sites
ptlrc 2 Posted September 5, 2019 Report Share Posted September 5, 2019 yescan u please give me an example for http postset(#account id,"","Global")set(#token,"","Global")set(#to number,"","Global")set(#from number,"","Global")set(#text body,"","Global")set(#post,$plugin function("HTTP post.dll", "$http post", "https://api.twilio.com/2010-04-01/Accounts/{#account id}/Messages.json", "To={#to number}&From={#from number}&Body=Hello World&u={#account id}:{#token}", "", "", "", ""),"Global") know nothing about how code after reading twilio examples, please help me out Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted September 5, 2019 Author Report Share Posted September 5, 2019 Node view set(#post,$plugin function("HTTP post.dll", "$http post", "URL HERE/Accounts/{#account id}/Messages.json", "\{ \"To\": \"\", \"From\": \"\", \"Body\": \"Hello World\", \"u\": \":\" \}", "", "", "", ""),"Global") Code viewset(#post,$plugin function("HTTP post.dll", "$http post", "URL HERE/Accounts/{#account id}/Messages.json", "\{ \"To\": \"\", \"From\": \"\", \"Body\": \"Hello World\", \"u\": \":\"\}", "", "", "", ""),"Global") Copy the above and paste to ubot. Edit it to add your variables and corrected url Quote Link to post Share on other sites
ptlrc 2 Posted September 10, 2019 Report Share Posted September 10, 2019 Node view set(#post,$plugin function("HTTP post.dll", "$http post", "URL HERE/Accounts/{#account id}/Messages.json", "\{ \"To\": \"\", \"From\": \"\", \"Body\": \"Hello World\", \"u\": \":\" \}", "", "", "", ""),"Global") Code viewset(#post,$plugin function("HTTP post.dll", "$http post", "URL HERE/Accounts/{#account id}/Messages.json", "\{ \"To\": \"\", \"From\": \"\", \"Body\": \"Hello World\", \"u\": \":\"\}", "", "", "", ""),"Global") Copy the above and paste to ubot. Edit it to add your variables and corrected urlthanks for your reply with your codesi get an error says 401 unauthorized and after days googlei find with http basic mode , the authentication will pass through plugin command("HTTP post.dll", "http basic mode", "Yes")plugin command("HTTP post.dll", "http set headers", "Authorization", "{#account id}:{#token}")set(#post,$plugin function("HTTP post.dll", "$http post", "https://api.twilio.com/2010-04-01/Accounts/{#account id}/Messages.json", "To=+13018859006&From=+12022171008&Body=Hello World", "", "", "", ""),"Global") with the codes , i get an error says 400 bad request following are the debug content, please help me #post: HTTP/1.1 400 Bad RequestDate: Tue, 10 Sep 2019 21:47:36 GMTContent-Type: text/htmlContent-Length: 264Connection: closeX-Shenanigans: noneAccess-Control-Allow-Origin: *Access-Control-Allow-Headers: Accept, Authorization, Content-Type, If-Match, If-Modified-Since, If-None-Match, If-Unmodified-SinceAccess-Control-Allow-Methods: GET, POST, DELETE, OPTIONSAccess-Control-Expose-Headers: ETagAccess-Control-Allow-Credentials: trueX-Powered-By: AT-5000Strict-Transport-Security: max-age=31536000 <html><head><title>400 The plain HTTP request was sent to HTTPS port</title></head><body bgcolor="white"><center><h1>400 Bad Request</h1></center><center>The plain HTTP request was sent to HTTPS port</center><hr><center>nginx</center></body></html> Quote Link to post Share on other sites
BigEfromDaBX 25 Posted September 10, 2019 Report Share Posted September 10, 2019 thanks for your reply with your codesi get an error says 401 unauthorized and after days googlei find with http basic mode , the authentication will pass through plugin command("HTTP post.dll", "http basic mode", "Yes")plugin command("HTTP post.dll", "http set headers", "Authorization", "{#account id}:{#token}")set(#post,$plugin function("HTTP post.dll", "$http post", "https://api.twilio.com/2010-04-01/Accounts/{#account id}/Messages.json", "To=+13018859006&From=+12022171008&Body=Hello World", "", "", "", ""),"Global") with the codes , i get an error says 400 bad request following are the debug content, please help me #post: HTTP/1.1 400 Bad RequestDate: Tue, 10 Sep 2019 21:47:36 GMTContent-Type: text/htmlContent-Length: 264Connection: closeX-Shenanigans: noneAccess-Control-Allow-Origin: *Access-Control-Allow-Headers: Accept, Authorization, Content-Type, If-Match, If-Modified-Since, If-None-Match, If-Unmodified-SinceAccess-Control-Allow-Methods: GET, POST, DELETE, OPTIONSAccess-Control-Expose-Headers: ETagAccess-Control-Allow-Credentials: trueX-Powered-By: AT-5000Strict-Transport-Security: max-age=31536000 <html><head><title>400 The plain HTTP request was sent to HTTPS port</title></head><body bgcolor="white"><center><h1>400 Bad Request</h1></center><center>The plain HTTP request was sent to HTTPS port</center><hr><center>nginx</center></body></html> Dude, The only way i got this working was using python. 1. Download python https://www.python.org/downloads/ and install it to your computer2. Install Python Plugin (ExecutePython.dll) to ubot.3. Use the python examples from twilio. This worked perfect for me and at the same time I can start learning python. Quote Link to post Share on other sites
BigEfromDaBX 25 Posted September 11, 2019 Report Share Posted September 11, 2019 thanks for your reply with your codesi get an error says 401 unauthorized and after days googlei find with http basic mode , the authentication will pass through plugin command("HTTP post.dll", "http basic mode", "Yes")plugin command("HTTP post.dll", "http set headers", "Authorization", "{#account id}:{#token}")set(#post,$plugin function("HTTP post.dll", "$http post", "https://api.twilio.com/2010-04-01/Accounts/{#account id}/Messages.json", "To=+13018859006&From=+12022171008&Body=Hello World", "", "", "", ""),"Global") with the codes , i get an error says 400 bad request following are the debug content, please help me #post: HTTP/1.1 400 Bad RequestDate: Tue, 10 Sep 2019 21:47:36 GMTContent-Type: text/htmlContent-Length: 264Connection: closeX-Shenanigans: noneAccess-Control-Allow-Origin: *Access-Control-Allow-Headers: Accept, Authorization, Content-Type, If-Match, If-Modified-Since, If-None-Match, If-Unmodified-SinceAccess-Control-Allow-Methods: GET, POST, DELETE, OPTIONSAccess-Control-Expose-Headers: ETagAccess-Control-Allow-Credentials: trueX-Powered-By: AT-5000Strict-Transport-Security: max-age=31536000 <html><head><title>400 The plain HTTP request was sent to HTTPS port</title></head><body bgcolor="white"><center><h1>400 Bad Request</h1></center><center>The plain HTTP request was sent to HTTPS port</center><hr><center>nginx</center></body></html> I forgot to mention to install twilio via PIP Once you get all of that installed this will work for you. Fill in the XXXXXXXX's set(#account_sid,"ACxxxxxxxxxxxxxxxxxxxxxxxxxxxx","Global") set(#auth_token,"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","Global") set(#body,"Hello World Via SMS","Global") set(#from,"+xxxxxxxxxxx","Global") set(#to,"+xxxxxxxxxxx","Global") set(#python_Test,$plugin function("ExecutePython.dll", "Execute From Code", "# Download the helper library from https://www.twilio.com/docs/python/install from twilio.rest import Client # Your Account Sid and Auth Token from twilio.com/console # DANGER! This is insecure. See http://twil.io/secure account_sid = \'{#account_sid}\' auth_token = \'{#auth_token}\' client = Client(account_sid, auth_token) message = client.messages \\ .create( body=\"{#body}\", from_=\'{#from}\', to=\'{#to}\' ) print(message.sid) ", "c:\\Python37\\Python.exe"),"Global") Quote Link to post Share on other sites
myubotforumaccount 0 Posted December 23, 2019 Report Share Posted December 23, 2019 Dude, The only way i got this working was using python. 1. Download python https://www.python.org/downloads/ and install it to your computer2. Install Python Plugin (ExecutePython.dll) to ubot.3. Use the python examples from twilio. This worked perfect for me and at the same time I can start learning python.can u please instruct me how to install python plugin to ubot? i have been googling for all days, but still can not find the right way.thanks Quote Link to post Share on other sites
BigEfromDaBX 25 Posted December 23, 2019 Report Share Posted December 23, 2019 can u please instruct me how to install python plugin to ubot? i have been googling for all days, but still can not find the right way.thanks As I stated in step 1 1. Download python https://www.python.org/downloads/ and install it to your computer Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.