Please excuse me first, because I speak English like a French cow!
That's all, I decided to get out of the Facebook toolkit and start using Facebook C # sdk.
I looked v4.2.1. Then I read "http://facebooksdk.codeplex.com/Thread/View.aspx?ThreadId=241181" and I downloaded the v5 source code.
I have a little problem with the auth process with this V5. Here is my code:
string _requiredAppPermissions = "offline_access,email";
FacebookApp fbApp = new FacebookApp();
var fbSettings = new FacebookSettings();
fbSettings.AppId = RWE.Core.Config.FacebookApp;
fbSettings.AppSecret = RWE.Core.Config.FacebookSecret;
Authorizer authorizer = new Authorizer(fbSettings);
if (!String.IsNullOrEmpty(_requiredAppPermissions)) authorizer.Perms = _requiredAppPermissions;
authorizer.Perms = _requiredAppPermissions;
authorizer.ReturnUrlPath = _AuthUrlReturn;
authorizer.Authorize();
var me = fbApp.Api("me");
, URL: "http://apps.facebook.com/myapp", facebook ( ) "Accéder à Facebook" ( " facebook",). "http://www.facebook.com/connect/uiserver.php?app_id=170580299646394&method=permissions.request&display=page&next=http%3A%2F%2Fwww.facebook.com% 2Fconnect% 2Flogin_success.html & response_type = & fbconnect = 1 & = offline_access% 2Cemail"
"http://realurl.com", , URL- facebookapp.
: