Quantcast
Channel: Web Forms
Viewing all articles
Browse latest Browse all 23244

login with google api

$
0
0

i had working code

using this example

http://www.dotnetethics.com/2008/09/signin-using-google-account.html

but its not working now

it is throwing error, is there any new code for this

==

The remote server returned an error: (401) Unauthorized.

Description:An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Net.WebException: The remote server returned an error: (401) Unauthorized.

Source Error:

Line 46:         Dim query As New Google.GData.Contacts.ContactsQuery(Google.GData.Contacts.ContactsQuery.CreateContactsUri("default"))
Line 47:         'TryLine 48: Dim feed As Google.GData.Contacts.ContactsFeed = service.Query(query) Line 49:         'Response.Write(feed.Authors(0).Name)
Line 50:         'Response.Write(feed.Authors(0).Email)

Viewing all articles
Browse latest Browse all 23244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>