Hello,
I google at every website but not get any related tutorial ragarding my problem.
i have used following code to connect with facebook using login by user,
OAuthWebSecurity.RegisterClient(new FacebookExtendedClient(
"***************",
"****************************",
"email,likes",
new Func<string, object, string>(fieldsTransformer),
"read_stream"));
at last line i added "read_stream" i want this permission when any user logged in through my website but when user logged in there no any dialog box open for permission granting. i searched and found that by default oauthwebsecurity sealed classes provide only scope to "email".
i have used OAuthWebSecurity for this and there is no any virtual method who will allow to add another scope when request for authentication start.
there is method "OAuthWebSecurity.RequestAuthentication" but it will not take any parameter which contains scope.
then how can i add multiple or another scope to get permission from user and get particular data.