<configuration> <appSettings> <add key="EnableSqlDependency" value="true" /> <add key="ApplicationId" value="<YOUR APP ID GOES HERE>" /> <add key="ApplicationUrl" value="" /> <add key="ApiKey" value="" /> <add key="ApplicationSecret" value="<YOUR APP SECRET GOES HERE>" /> <add key="ExtendedPermissions" value="offline_access" /> </appSettings> <startup> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" /> </startup> </configuration>
String fb = new FacebookClient(this.AccessToken); dynamic result = fb.Post("me/feed", new { message = "My second wall post using Facebook C# SDK" });
<add key="ExtendedPermissions" value="offline_access,publish_stream" />
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)