This sample demonstrates the use of Facebook C# SDK v6 as a Windows Phone 7 Application.
Note: This sample does not necessarily demonstrate the best use but rather features of using Facebook C# SDK on a Windows Phone 7 app. Always remember to handle exceptions.
Set the appropriate AppId
in FacebookLoginPage.xaml.cs
before running the sample.
private const string AppId = "app_id";
Note:
[assembly: InternalsVisibleTo("Facebook")]
in AssemblyInfo.cs.Dispatcher.Invoke()
method.FacebookClient
for each XAsync
method calls in order to avoid the event handler from being fired multiple times.