Posted
almost 13 years
ago
by
iftkharahmed
Rated 4 Stars (out of 5) - this sdfds f sdfdsf sdfdsf sdfdsf sdfsdf sfdsf sfsdf
|
Posted
almost 13 years
ago
by
iftkharahmed
Rated 4 Stars (out of 5) - this sdfds f sdfdsf sdfdsf sdfdsf sdfsdf sfdsf sfsdf
|
Posted
almost 13 years
ago
by
pragneshs9
Previously i was using facebook v5.2 with below codevar fbWebContext = new FacebookWebContext(FacebookApplication.Current, ControllerContext.HttpContext);if (fbWebContext.IsAuthorized("user_about_me,publish_stream,email,user_status".Split(',')))}var
... [More]
fb = new FacebookWebClient(user.FacebookAccessToken);dynamic me = fb.Get("me");string first_name = me.first_name;string last_name = me.last_name;-----Above code was working fine but i have to add the offline_access for long live session it was expire with in 2 hours so i download the facebook v6 version. After updating the version the above code stops working.FacebookWebContext(IFacebookApplication settings, HttpContextBase httpContext)I am not getting the IFacebookApplication interface. how can i pass the settings value.Error:-Could not load type 'Facebook.FacebookApplication' from assembly 'Facebook, Version=6.0.10.0, Culture=neutral, PublicKeyToken=58cb4f2111d1e6de'.Please give me the solution as early as possible.Comments: This is test comment [Less]
|
Posted
almost 13 years
ago
by
pragneshs9
Previously i was using facebook v5.2 with below codevar fbWebContext = new FacebookWebContext(FacebookApplication.Current, ControllerContext.HttpContext);if (fbWebContext.IsAuthorized("user_about_me,publish_stream,email,user_status".Split(',')))}var
... [More]
fb = new FacebookWebClient(user.FacebookAccessToken);dynamic me = fb.Get("me");string first_name = me.first_name;string last_name = me.last_name;-----Above code was working fine but i have to add the offline_access for long live session it was expire with in 2 hours so i download the facebook v6 version. After updating the version the above code stops working.FacebookWebContext(IFacebookApplication settings, HttpContextBase httpContext)I am not getting the IFacebookApplication interface. how can i pass the settings value.Error:-Could not load type 'Facebook.FacebookApplication' from assembly 'Facebook, Version=6.0.10.0, Culture=neutral, PublicKeyToken=58cb4f2111d1e6de'.Please give me the solution as early as possible.Comments: This is test comment [Less]
|
Posted
almost 13 years
ago
by
pragneshs9
Previously i was using facebook v5.2 with below codevar fbWebContext = new FacebookWebContext(FacebookApplication.Current, ControllerContext.HttpContext);if (fbWebContext.IsAuthorized("user_about_me,publish_stream,email,user_status".Split(',')))}var
... [More]
fb = new FacebookWebClient(user.FacebookAccessToken);dynamic me = fb.Get("me");string first_name = me.first_name;string last_name = me.last_name;-----Above code was working fine but i have to add the offline_access for long live session it was expire with in 2 hours so i download the facebook v6 version. After updating the version the above code stops working.FacebookWebContext(IFacebookApplication settings, HttpContextBase httpContext)I am not getting the IFacebookApplication interface. how can i pass the settings value.Error:-Could not load type 'Facebook.FacebookApplication' from assembly 'Facebook, Version=6.0.10.0, Culture=neutral, PublicKeyToken=58cb4f2111d1e6de'.Please give me the solution as early as possible. [Less]
|
Posted
almost 13 years
ago
by
pragneshs9
Previously i was using facebook v5.2 with below codevar fbWebContext = new FacebookWebContext(FacebookApplication.Current, ControllerContext.HttpContext);if (fbWebContext.IsAuthorized("user_about_me,publish_stream,email,user_status".Split(',')))}var
... [More]
fb = new FacebookWebClient(user.FacebookAccessToken);dynamic me = fb.Get("me");string first_name = me.first_name;string last_name = me.last_name;-----Above code was working fine but i have to add the offline_access for long live session it was expire with in 2 hours so i download the facebook v6 version. After updating the version the above code stops working.FacebookWebContext(IFacebookApplication settings, HttpContextBase httpContext)I am not getting the IFacebookApplication interface. how can i pass the settings value.Error:-Could not load type 'Facebook.FacebookApplication' from assembly 'Facebook, Version=6.0.10.0, Culture=neutral, PublicKeyToken=58cb4f2111d1e6de'.Please give me the solution as early as possible. [Less]
|
Posted
almost 13 years
ago
by
pragneshs9
For the description of the issue and for a workaround see: http://facebook.stackoverflow.com/questions/7381370/facebook-c-sdk-oauth-exception-clientid-required/7386743The problem is that when FacebookWebContext is instantiated with app settings then
... [More]
FacebookApplication.Current doesn't properly get set. The other way around: FacebookSession uses FacebookApplication.Current, but IMHO not a kind of global object should be used but the IFacebookApplication instance passed around.Comments: FacebookWebContext(IFacebookApplication settings, HttpContextBase httpContext)
I am not getting the IFacebookApplication interface. how can i pass the settings value.
Error:-
Could not load type 'Facebook.FacebookApplication' from assembly 'Facebook, Version=6.0.10.0, Culture=neutral, PublicKeyToken=58cb4f2111d1e6de'.
[Less]
|
Posted
almost 13 years
ago
by
pragneshs9
For the description of the issue and for a workaround see: http://facebook.stackoverflow.com/questions/7381370/facebook-c-sdk-oauth-exception-clientid-required/7386743The problem is that when FacebookWebContext is instantiated with app settings then
... [More]
FacebookApplication.Current doesn't properly get set. The other way around: FacebookSession uses FacebookApplication.Current, but IMHO not a kind of global object should be used but the IFacebookApplication instance passed around.Comments: FacebookWebContext(IFacebookApplication settings, HttpContextBase httpContext)
I am not getting the IFacebookApplication interface. how can i pass the settings value.
Error:-
Could not load type 'Facebook.FacebookApplication' from assembly 'Facebook, Version=6.0.10.0, Culture=neutral, PublicKeyToken=58cb4f2111d1e6de'.
[Less]
|
Posted
almost 13 years
ago
by
pragneshs9
For the description of the issue and for a workaround see: http://facebook.stackoverflow.com/questions/7381370/facebook-c-sdk-oauth-exception-clientid-required/7386743The problem is that when FacebookWebContext is instantiated with app settings then
... [More]
FacebookApplication.Current doesn't properly get set. The other way around: FacebookSession uses FacebookApplication.Current, but IMHO not a kind of global object should be used but the IFacebookApplication instance passed around.Comments: Previously i was using facebook v5.2 with below code
var fbWebContext = new FacebookWebContext(FacebookApplication.Current, ControllerContext.HttpContext);
if (fbWebContext.IsAuthorized("user_about_me,publish_stream,email,user_status".Split(',')))
}
var fb = new FacebookWebClient(user.FacebookAccessToken);
dynamic me = fb.Get("me");
string first_name = me.first_name;
string last_name = me.last_name;
-----
Above code was working fine but i have to add the offline_access for long live session it was expire with in 2 hours so i download the facebook v6 version. After updating the version the above code stops working.
Please give me the solution as early as possible. [Less]
|
Posted
almost 13 years
ago
by
pragneshs9
For the description of the issue and for a workaround see: http://facebook.stackoverflow.com/questions/7381370/facebook-c-sdk-oauth-exception-clientid-required/7386743The problem is that when FacebookWebContext is instantiated with app settings then
... [More]
FacebookApplication.Current doesn't properly get set. The other way around: FacebookSession uses FacebookApplication.Current, but IMHO not a kind of global object should be used but the IFacebookApplication instance passed around.Comments: Previously i was using facebook v5.2 with below code
var fbWebContext = new FacebookWebContext(FacebookApplication.Current, ControllerContext.HttpContext);
if (fbWebContext.IsAuthorized("user_about_me,publish_stream,email,user_status".Split(',')))
}
var fb = new FacebookWebClient(user.FacebookAccessToken);
dynamic me = fb.Get("me");
string first_name = me.first_name;
string last_name = me.last_name;
-----
Above code was working fine but i have to add the offline_access for long live session it was expire with in 2 hours so i download the facebook v6 version. After updating the version the above code stops working.
Please give me the solution as early as possible. [Less]
|