nguyentientoan / socialauth-net

Automatically exported from code.google.com/p/socialauth-net
0 stars 0 forks source link

Can't change SocialAuthUser.CurrentUser thus returning always contacts of last logged in user #149

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Login in any Provider, let's say Facebook. OK
2. Get the Contacts - facebook contacts returned. OK
3. Login with another provider, let's say Google. OK
4. Get the Contacts - Google contacts returned. OK
5. Try to get Facebook contacts again by using 
         SocialAuthUser oUser = new SocialAuthUser(_provider);
         UserProfile profile = oUser.GetProfile(_provider);
         var contacts = oUser.GetContacts(); 
6. It returns Google contacts

What is the expected output? What do you see instead?
A list of the contacts from the oUser i get the profile from

What version of the product are you using? On what operating system?
2.3.0.0. WIndows 7

Please provide any additional information below.

I would like to be able to go back and forth from providers and retrieve 
contacts.

Original issue reported on code.google.com by ppcu...@gmail.com on 20 Dec 2012 at 3:42

GoogleCodeExporter commented 8 years ago
Nevermind. Didn't realize i had GetContacts(provider); That solves it.

Original comment by ppcu...@gmail.com on 20 Dec 2012 at 6:26

GoogleCodeExporter commented 8 years ago
Glad its resolved. Yes! using the overload is the correct way.

Deepak

Original comment by deepak.a...@3pillarglobal.com on 24 Dec 2012 at 1:41

GoogleCodeExporter commented 8 years ago
hello  ppcu...@gmail.com i can not get gmail contact list so please help me for 
that... 

Original comment by rathodja...@gmail.com on 24 Dec 2012 at 2:16