Filling Facebook Login Page?

Sep 24, 2010

I'm trying to make a software for myself that helps me login to my facebook automatically using a button and a webbrowser.

I tried to use the method in this thread:

[URL]

Has anyone done this/knows what should i do? facebook page source is way too complicated for me

View 10 Replies


ADVERTISEMENT

Make A Webbrowser Login On A Site (filling Textbox And Clicking Login)?

Jun 18, 2011

I've been trying to make a app that logs into a website. So far it didn't work for me.I have trouble because:

- The "pin" (username) box on the site doesn't have an ID. (Can't use getelementbyid)

- The picture doesn't have an ID either

Codes I've tried:

With WebBrowser1.Document
.All("pin").InnerText = "mypinhere"
End With
End Sub

This should have, in my opinion, filled in the textbox. Now I need to click the login button?Also I found this in the source of the site:

<img src="/media/img/text_AccountPin.gif" alt="Account Pin" width="93" height="10" border="0"> <input type="text" name="pin" class="form" size="15"> </p>

As we can see, it says

name="pin"

So I should be able to use "getelementbytagname" right?Also, the formId is logmein (log me in)

<form id="logmein"....

This is what I came up with:

Dim webbrowserDocForm As HtmlElementCollection = WebBrowser1.document.GetElementsByTagName("logmein")
For Each curElement As HtmlElement In webbrowserDocForm
Dim controlValue As String = curElement.GetAttribute("Value").ToString

[code]....

in the next code it's tagname is "input" or "text"? Because I found:

<input type="text" name="pin" class="form" size="15"> </p>

Code for filling in:

webbrowserDocForm = WebBrowser1.document.GetElementsByTagName("text")
For Each curElement As HtmlElement In webbrowserDocForm
Dim controlName As String = curElement.GetAttribute("name").ToString

[code]....

It doesn't give me any errors no more, but it doesn't work either.

View 3 Replies

Forms :: Enter Login Details Login Page Just Refreshes Itself And Login Wasn't Proceed?

Dec 13, 2010

I had a problem with WebBrowser component. Basically, it works improperly when try to log in on one web-site (Forex Trading Social Network | Online Forex Trading Forum and Social Networking Site). I am working with Visual Studio 2010 Professional. I created a simple WebBrowser trying to access the indicated web-site. The problem begins. Well, the website loads, but when you go to the login page (Forex Trading Social Network | Online Forex Trading Forum and Social Networking Site) and try to log in, it doesn't work. I mean, when I enter the login details the login page just refreshes itself and the login wasn't proceed. The same login page appear with every login attempt. The is the current problem!I check with Google, it works. But, it doesn't work with Forex Trading Social Network | Online Forex Trading Forum and Social Networking Site! Why?

View 14 Replies

How To Use Facebook Authentication With Asp.net Login Control

Apr 17, 2012

I have been digging on facebook authentication for a week. I came across so many things such as facebook_connect, Facebook C# SDK from CodePlex and other ways to connect with facebook which are absolute now. Finally after reading url.. for many times, I did manage to have a login button and get user's information for facebook using the new and standard Graph API stuffs. There are in Javascript such as. [code]I can't remove all form authentication from the existing website. Facebook login should be value added feature to the website. Now the few bits I don't get is.How to authenticate the asp.net Form authentication when someone Login to the website using facebook Login.How do I pass all the value in the javascript to aspx.vb to connect to database and store the information.I understand I would need to create a new table in the database, probably called FacebookUsers. But I can't think a way that facebook authentication and asp.net Login control to work together. My website is in VB.net by the way.

View 1 Replies

Make The Application To Login To Facebook Account?

Oct 19, 2009

i am now to this forum and i hope i can learn much about vb here =].The problem i am stating today is that i want this program to log in to [URL]..o far, i've managed to make the application to login to my facebook account but i cannot make it navigate to mousehunt but even if i do so,

[Code]...

View 7 Replies

Webbrowser. Remember Login For Sites Like Facebook And Dreamincode?

Feb 16, 2010

Im want my webbrowser to remember the username and password on page that user log in at.Like FF where a bar appears and the user can chose to remember or not.I don't really

View 14 Replies

Send Credentials To Facebook And Automatically Press The 'login Button'?

Aug 12, 2011

I wanna send my credentials to facebook.com and to automatically press the 'login button' and I've tried this:

webbrowser1.navigate(http://www.facebook.com/)
webbrowser1.document.GetElementById("email").SetAttribute("value", "my email")
webbrowser1.document.GetElementById("pass").setAttribute("value", "My password")
webbrowser1.document.GetElementById("I cannot find the ID for the login key..please help").invokemember("click")

Nothing happens?

View 3 Replies

C# - Facebook Uses A Logout Key - Unable To Extract From The Page

Aug 8, 2011

I am new to VB.net and making a facebook windows app. I am doing just few simple things like login, log out and like a page. I was able to login in FB by using help from [URL] But now am stuck at log out and liking a page. I am using [URL] so to keep my coding easy understandable and convenient.

[Code]...

View 1 Replies

Login Landing Page That Subsequently Passes Username/pw To Other Login Pages?

Dec 28, 2011

It is simply a "Y" in the road. If they are Company A, then I want to send the username and password over to that website and log them in as if they typed it in there. If they are Company B, then the same thing but with a different website. I do not know the term for this, so the google results are not very pretty.I can not do this with a query string (not that I'd want to anyway) as I do not want the username/pw to be visible.Here is the other weird thing. This can be done via a simple HTML <FORM> and Submit button as I have tested it. But I want to do it all in VB.NET code. How is it that it is possible with some simple HTML but not possible in VB.NET? I guess it could be a security thing, right? What do the good guys like us do when we legitimately just want our employees to go to one login page, enter their username/pw, and then (based on their username) send them to either pageA.aspx or PageB.aspx which receives their username/pw that they only entered once before on the first page?

View 1 Replies

VB Login Page - Allows Individual To View The Next Page And Doesn't Throw The Error

May 17, 2012

So i've been working on a page for a project where the person logs into a login page and then can see a list from the database of employees. everything is working except for one problem. If someone puts in a username and password, username= a and password=b, for example it still allows that individual to view the next page and doesn't throw the error that i have enbedded on the login page to say sorry you have the incorrect password/username. The working code that i have so far is below:

[Code]...

View 3 Replies

VS 2008 Loged In Facebook Using Webbrowser In Facebook / Want To Logout In Every 10

Sep 17, 2011

I have kept a webbrowser and 2 text boxes and one button when my application start it opens facebook page in browser and then i put the id and password in textboxes and then clik on the button then i got loged in but i want that if i looged in it will logout in every 10 sec. can anyone help in this topic

View 1 Replies

Add A Login Page To A Program?

Jul 12, 2010

I was wondering if it would be possible for me to add a login page to a program that I have made that connects to an online database that my website has (mysql) that stores user names and passwords for the members of my website, so that members of my site could login with their username and passwords to my program, if so, how would I go about doing this?

View 1 Replies

Asp.net - Transfer Login Value To Another Page?

Nov 14, 2011

I am a newbie in using asp.net with code behind of vb.net I just wanna know on how to see the name of the admin on the POS page. it seems that this code doesn't work?

Main.lbl_name.Text = CurName.ToUpper
POS.lbl_cashier.Text = CurName.ToUpper

Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click

Dim cmd1 As New SqlCommand
Dim rdr As SqlDataReader
cmd1.Connection = cn
cmd1.Connection.Open()

[code]....

View 3 Replies

C# - Regex For Login Page URL?

Sep 28, 2011

Right now, I have this code:

string strURL = "aLogin.aspx?test=hello";
string strPattern = "(.*/)?Login.aspx(?.*)?";
bool bIsLoginPage = System.Text.RegularExpressions.Regex.IsMatch(strURL , strPattern, System.Text.RegularExpressions.RegexOptions.IgnoreCase);

I'm searching for the proper regexp pattern, and I am at a loss.The pattern must fulfill these criteria

Login.aspx ==> True
lOgIn.AsPx ==> True
/Login.aspx ==> True

[code]....

View 3 Replies

C# - Secure Login From ASP.NET 3.5/4.0 Page To SQL Database?

Nov 3, 2011

What is the most secure way to create an ASP.NET 3.5/4.0 login page connection to an SQL database.

View 2 Replies

Coding Default Login Page?

Jan 21, 2011

I created a website in VWDE 2010, and I was trying to code the login page that gets automatically created with a new web site in vb. owever, the vb file doesnt recognize some of the items on the aspx page, for instance: the username textbox is called "username". in the vb file, when I wrote username.text etc etc, and then I debugged it, it gave me error " 'username' is not declared. It may be inaccessible due to its protection level. Why is it doing that? It's under a Protected Sub, but why should tht interfere?

View 3 Replies

Fill The Value For The Login Page Of Site?

Dec 7, 2011

im trying to to fill the value for the login page of site here the html code

<input type="text" placeholder="Email" class="login_textbox" name="username" id="username" tabindex="1"> i tried this but doesnt work WebBrowser1.Document.GetElementById("username").Se tAttribute("value", "elvin")

View 1 Replies

Login Page Script Required?

Feb 2, 2009

I am using Visual basic 2008 express edition with ms access 2003 as database.I have created the login form in Vb.

View 4 Replies

Login Page With Database Connection?

Aug 20, 2011

i am tried to develpod login page for System staff Library.I want to modified my login page which only allow user which has register in the system able to access.If the user want to login but dont have any username and password yet user will got message error. All the username and password are store in table staff .For your info i am creating using Visual studio 2005 using application forms and all the data was save in sql 2005.My server name is Danawa, i created my database name Login and table name Staff.In inside table staff 1 created 7 column such staffid, Name, telno, department, username, password, address. Here i my example code for login page and database preview code which i want to modified and also i attached picture of table staff.

[Code]...

View 1 Replies

OleDb - How To Make Login Page

Sep 7, 2011

I'm making a window's application project, and I'm trying to make a login page. First time trying, and I think I'm getting somewhere. Just keep running into a few things. Here is my

Imports System.Data.OleDb
Public Class Form4
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Dim msg As String
Dim title As String
Dim style As MsgBoxStyle
[Code] .....

The problems I run into are: My textbox.clear isn't clearing. The text stays when I try debugging the program and enter my first name and password, it gives me the "error logging in, please try again" and I know that test/test is the first name and password.

View 4 Replies

Use A Stored Procedure With A Login Page?

May 4, 2009

I am using a Login page so the user can access the form. The thing is, I have a stored procedure that can get the user id and password, but I am not sure how to use it in VB. I know how to do it in ADO.Net, but I'm not sure if this would be similar. I want to make sure that a person doesn't use an SQL injection attack. Oh, and I am using SQL Server 2008, not Access. Here is my current code:

[Code]...

View 2 Replies

Asp.net - Handle Enter Key For Search And Login Page?

May 26, 2011

I have an ASP.Net 3.5 in VB.Net page that uses a master-page and has several pages it uses to display content. On the master-page their is a search text-box for the site so that shows up on all the pages. Their is also a login page screen to get to a members account.The issue is: When you are on a content page I would like when a user puts something in to search for and presses enter it will process the search request.But....If you are on the login page I would like to disable enter key for the search and if the user presses enter on the login page to process the login request.

View 1 Replies

C# - Make User Come Back To The Same Page After Login?

Oct 7, 2011

In asp.net 3.5, i am trying to send a user to a different https url to login, if the user is not logged in. I am kinda' restricting the user not to see the forum page in the current site (http://thisSite.com/forum.aspx), if the user is not logged in.I am not sure how to redirect the user back from the login page [url] back to the [url]

i tried placing response.redirect in my forum.aspx like this: response.redirect("https://somethirdpartysite.com"), but it's not behaving as expected.

View 1 Replies

C# - Redirect To Root Login Page From Web.config

Jun 3, 2011

I am redirect user to loging page when session expires. Login.aspx is in root. I declared path like this in web.config file.

[Code]...

It is working for all root .aspx pages. But it not working for sub folders pages like Reporting eport.aspx. So how to manage redirect page (Login.aspx) for root .aspx pages and sub folder .aspx pages?

View 4 Replies

Create A Secure Login Page Using VS 2010/ASP.Net?

Apr 5, 2011

I would like to create a secure login page for a pre-defined set of users (so no creating username/passwords by the users themselves). I've looked up a few sites and they all seem to suggest using Microsoft's Membership or something. I am not very sure as to why that's used, but all you need to know is that I will be creating the login details. I just need to make the login secure, ie, no duplicate logins, no logins from different browsers and cookies and sessions and encryption and all that. Any one have the code/links to where I can get all this?

View 1 Replies

Custom Login Page / Incorrect Syntax Near '.'.

May 14, 2012

I am creating a custom log in page using VB in Visual Studio. Every time I try logging in, however, I get the following error:"Incorrect syntax near '.'".When I put in the wrong username/password combo it recognizes this, but when it is right it will get this error and fail to log in.

View 1 Replies

Download File (from A SSL Web) That Requires Login Id To The Page

Jun 21, 2010

i want to download a file from a SSL web to my local(C:)

[URL]

Scenario: from the web browser(Internet Explorer), i required to login to the site in order to download the file.

in the vb program i pass in this url to download the file (include my password and username): [URL] but what has been downloaded to my C: is the login page(in myfile.txt) but when i use the url on the web browser[URL] i managed to get the file (the actual file).

Question: is there anyway that i can download the file from a login page?

View 4 Replies

Globalizing Connection String From Login Page?

Oct 23, 2009

I have a login page where I display all the sql servers available and when the user selects the server, all the databases are displayed in a different combo box. Then the user enters the userid/pwd and clicks logon button.Assume that the credentials are correct and sucessfully established.

Now what I want is to store that connection string into somewhere so that all the different operations can be carried out without referring to the config file.One option that I have is to declare a public variable in DAO class and assign the connection string to it.Is there any other better way to handle this situation.

View 1 Replies

How To Develop Multilevel Access Login Page

Aug 29, 2011

I got an error in my coding. The error is expression expected. How I am to correct my coding. In my coding here I am tried to develop multilevel access login page. Here is my coding which is connected to database. In my coding, I create 3 textbox which is txtusername.text, txtpassword.text and txtdepartment.text. User must key in they username, password and their department in the login page, if the user department is Admin then he will access into admin page and if user department is store then he will access into store page. I am still new beginner in this vb language and for your info I am using visual studio 2005 and sql 2005.

Here is my code and my interface
Public Class Form1
Dim r = Me.StaffTableAdapter
Private Sub btnlogin_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnlogin.Click
Dim r = Me.StaffTableAdapter.UsernamePassword(Me.txtusername.Text, Me.txtpassword.Text, Me.txtdepartment.Text)
[Code] .....

View 1 Replies

Login Page - Deny Users Who Are Not Authenticated

Aug 31, 2011

I am new to .NET and I have created a login page, with a user Id and password. In my webconfig, I put the following code in to deny users who are not authenticated.
<authentication mode="Forms">
<forms loginUrl="Login.aspx" timeout="10" protection="All" />
</authentication>
<authorization>
<deny users="?"></deny>
</authorization>

What I am trying to accomplish is that when a user enters the correct information, I would like to store information small information about the user in a cookie, say for example if there an admin, manager, user, etc...Here is the code that occurs when the user click the submit button. The problem is that the page doesn't redirect to the page after user enter correct information.
If txtPassword.Text.ToLower = "test" Then
'Create a cookie
Dim cookie As New HttpCookie("UserInfo")
'Cookie variables
cookie("User") = txtUser.Text
[Code] .....

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved