Link to home
Start Free TrialLog in
Avatar of vineethvp
vineethvpFlag for India

asked on

Google Account + PHP

How could i login into google account with username and password programatically without entering into login page
Avatar of ygoutham
ygoutham
Flag of India image

curl functions in php which allows you to do something like that
ASKER CERTIFIED SOLUTION
Avatar of HackneyCab
HackneyCab
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Before you spend too much time trying to do this with CURL (possible in theory, unlikely in practice) please contact Google and get written permission to access their web services this way.  For some of the services an API key is used.  Others are public and require no keys.

The central issue here is whether Google, as owner of the service and data, endorses your desired method of access.  If they do, you will find them very helpful in creating the tools you need to get at the data.  If they do not, they will tell you and you will have saved yourself from a lot of technical frustration and a legal nightmare.

Best of luck with your project, ~Ray
@HackneyCab: that's a great suggestion.  I believe that Twitter is going to use OAuth, too.

I use shared web hosting for lots of things and have not yet run into any issue with compromised passwords.  If you trust your web host to keep your data base, you kind of have already trusted them with something pretty important.  So I just keep my passwords out of the web root and live with that level of risk.
Avatar of vineethvp

ASKER

THanks