Click here to Skip to main content
16,011,626 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Facebook.Session.ConnectSession connectSession = new Facebook.Session.ConnectSession(ConfigurationManager.AppSettings["ApiKey"], ConfigurationManager.AppSettings["Secret"]);
connectSession.SessionKey = base.Api.Session.SessionKey;

connectSession.Login();
if (connectSession.IsConnected())
{

}

In above code, connectSession.IsConnected() is returning false as connectSession.SessionKey is getting null.

Please reply me.
Posted
Updated 22-Mar-11 21:19pm
v3
Comments
Wendelius 23-Mar-11 3:19am    
Pre and code tags added
Sandeep Mewara 23-Mar-11 3:20am    
You need to see if Facebook.Session.ConnectSession(ConfigurationManager.AppSettings["ApiKey"], ConfigurationManager.AppSettings["Secret"]); is correct or not.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900