Click here to Skip to main content
15,886,724 members
Articles / Desktop Programming / WPF

Getting Started with Facebook Desktop (Client) Applications, C#, WPF / XAML and JSON

Rate me:
Please Sign up or sign in to vote.
4.92/5 (28 votes)
21 Jan 2009CPOL15 min read 319.9K   11.7K   139  
A take on getting started with the Facebook API and WPF
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <configSections>
        <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
          <section name="Facebook.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
        </sectionGroup>
    </configSections>
    <userSettings>
        <Facebook.Properties.Settings>
            <setting name="ApplicationKey" serializeAs="String">
                <value>[Your Key]</value>
            </setting>
            <setting name="Secret" serializeAs="String">
                <value>[Your Secret]</value>
            </setting>
            <setting name="ApiVersion" serializeAs="String">
                <value>1.0</value>
            </setting>
            <setting name="LoginUrl" serializeAs="String">
                <value>https://login.facebook.com/login.php?api_key={0}&amp;auth_token={1}&amp;v={2}&amp;popup</value>
            </setting>
            <setting name="MaxFriends" serializeAs="String">
                <value>20</value>
            </setting>
            <setting name="ApiUrl" serializeAs="String">
                <value>https://api.facebook.com/restserver.php?{0}</value>
            </setting>
        </Facebook.Properties.Settings>
    </userSettings>
</configuration>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

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


Written By
Architect
United Kingdom United Kingdom
You can read more about me here:

http://uk.linkedin.com/in/murrayfoxcroft

Comments and Discussions