I am working in c# 4.0 to read a signed request I am using the following code
FacebookApp fap = new FacebookApp(); fap.AppId = \"789485219211963\"; // App ID
In package manager console Visual Studio 2013
PM> Install-Package Newtonsoft.Json
Then restart Visual Studio.