incepator Posted October 5, 2015 Share Posted October 5, 2015 Hi, I need to know how to connect to a site, for example (on facebook) with email and password, but without interface, no using "ie.au3" functions, i need inetread function or someting similar..I need to read the source code after logging was login successfullyThank you. Link to comment Share on other sites More sharing options...
junkew Posted October 5, 2015 Share Posted October 5, 2015 (edited) http post / get is what you needhttp://brugbart.com/http-post-request-autoithttp://brugbart.com/http-get-request-autoit Edited October 5, 2015 by junkew FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets Link to comment Share on other sites More sharing options...
AutoBert Posted October 5, 2015 Share Posted October 5, 2015 (from Help InetGet:) To use a username and password when connecting simply prefix the servername with "username:password@", e.g."http://myuser:mypassword@www.somesite.com" Link to comment Share on other sites More sharing options...
kcvinu Posted October 5, 2015 Share Posted October 5, 2015 @junkew Thank you for giving the brugbart's link. Spoiler My Contributions Glance GUI Library - A gui library based on Windows api functions. Written in Nim programming language. UDF Link Viewer --- A tool to visit the links of some most important UDFs Includer_2 ----- A tool to type the #include statement automatically Digits To Date ----- date from 3 integer values PrintList ----- prints arrays into console for testing. Alert ------ An alternative for MsgBox MousePosition ------- A simple tooltip display of mouse position GRM Helper -------- A littile tool to help writing code with GUIRegisterMsg function Access_UDF -------- An UDF for working with access database files. (.*accdb only) Link to comment Share on other sites More sharing options...
incepator Posted October 6, 2015 Author Share Posted October 6, 2015 @AutoBertI understand, but something is wrong ...I can not read the source code from facebook so, shows me the initial code, without logging in. $url = BinaryToString(InetRead("my_facebook_email@gmail.com:my_facebook_password@www.facebook.com", 1)) MsgBox(0,"",$url) Link to comment Share on other sites More sharing options...
AutoBert Posted October 6, 2015 Share Posted October 6, 2015 The helpfile quote is for InetGet not for InetRead. Link to comment Share on other sites More sharing options...
trancexx Posted October 6, 2015 Share Posted October 6, 2015 (edited) AutoBert, that's gibberish. Why would you suggest something that you obviously know very little or nothing about?AutoIt supports HTTP authentication schemes for accessing realms by reflecting the support of the underlying API. Authority part of an URI is accepted for the whole set of Inet functions resulting in support for basic, digest, nego and whatnot auth scheme - depending on your system (WinInet's support).However, the most common authentication scheme today (like in this case) is form-based authentication for which no standard exists (nor it should exist). AutoIt through Inet set, by default, can't be used here. So, maybe you shouldn't be confusing others with your ignorance. Educate yourself first, you are posting on programming forum. Edited October 6, 2015 by trancexx ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now