c# - how do I get additional scopes using SocialAuth.NET for FaceBook? -
heres trying achieve, want retrieve users details , additional parameter adding additional parameter(user_location).
i have put in web.config(xx replacing keys):
var profile = userprofilebll.retrieveprofilebyuserid(guid.parse(user.provideruserkey.tostring())); profile.facebooksynced = true; profile.validemail = true; profile.country = country; var test = new brickred.socialauth.net.core.wrappers.facebookwrapper(); string city = test.additionalscopes[0].tostring();
i not sure if right @ , cant seem find out how use , i've done lot of googling no avail. documentation limited least. not sure if time request parameter user has been authenticated etc.
its incorrect hence why need bit of guidance.
thanks.
curious, why need retrieve scope? once add additional_scopes, socialauth.net automatically passes them onto facebook when user's redirected login.
Comments
Post a Comment