Hello everyone,
I was just trying to get login facebook using MSXML2 object but I do not why its giving me an error.
I am able to login using IE as object.
I am using the following code.
![]()
Please Login or Register to view this content.
Hello everyone,
I was just trying to get login facebook using MSXML2 object but I do not why its giving me an error.
I am able to login using IE as object.
I am using the following code.
![]()
Please Login or Register to view this content.
Lokesh Kumar
Stay Hungry.. Stay Foolish..
_________________________________________________________
Please Click STAR to Add Reputation if my/someone's answer helped!
The easiest method is to include the password and username with in the URL. You need to find the elements (ID and tagname) of password and username from the source and include them with URL.
This is how I log in to Hotmail. I have changed some of the details as they are personal data.
![]()
Please Login or Register to view this content.
Last edited by AB33; 07-19-2015 at 07:08 AM.
Thanks.. I should try this..
The issue is that I can easily login with internet explorer but unable to login with MSXML2. I get different text by using following:-xHttp.send "form-login-username=myemail@hotmail.com&form-login-password=mypassword"
MSXML2
IE![]()
Please Login or Register to view this content.
![]()
Please Login or Register to view this content.
If you could log in using MSXML2, then what you want to do after you are in is another issue. I just used it as an example to merely illustrate how to log in.
Sorry, I do not have access to Face book( Face Less book) since my account has been blocked years ago. I have not missed the gossip though.
Msxml doesn't work like that. To use it you needs to understand http requests and cookies, that's why sticking to internet explorer is so much easier.
Internet explorer 11 does not allow you to save file without clicking on "Save". It always prompt you file dialog box due to increased securities.If you could log in using MSXML2, then what you want to do after you are in is another issue.
I just want to download some files from there.. with automation.
I tried internet explorer but then I need "Sends Keys" commands which I really do not like.
Thanks everyone...
I'm afraid, without learning http, that's the best that you're going to get. I believe that mc84Excel wrote some code that gets rid of the download box if you search his threads
Ok... I can do this with MSXML2, there was some issue with my Facebook page...while opening this website in Tab(window 8.1 tab) ...it is showing my page in "Hindi language". I was not able to fetch the correct elements. I did this in my desktop after installing Internet explorer 11, it works.
Still I will look into windows API as mentioned in thread Automating Save/Downloads from Internet Explore by mc84Excel.
I guess this is solved now..
Anyone can use this thread for further inquiry..
http://www.excelforum.com/excel-prog...r-in-ie11.html
MSXML doesn't use internet explorer, so I'm not quite sure what you're talking about
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks