Facebook Windows Phone Xap New ⚡

public static class App
public static string AccessToken  get; set;
private async void GetUserNameButton_Click(object sender, RoutedEventArgs e)
var fb = new FacebookClient(App.AccessToken);
    dynamic me = await fb.GetAsync("me");
    UserNameTextBlock.Text = me.name;

Because the keyword "facebook windows phone xap new" implies a desire for longevity, understand this: the community patch is a whack-a-mole game. Every month, Facebook changes a graph endpoint.

To keep your "new" XAP working:

First, a quick history lesson. The file extension .xap (not to be confused with Silverlight XAP) is the application package for Windows Phone 7, 8, and 8.1. (Windows 10 Mobile later shifted to .appx). facebook windows phone xap new

The Facebook app on Windows Phone went through three distinct phases: public static class App public static string AccessToken

For simplicity, let's create a basic UI with a login button, a button to fetch the user's name, and a text block to display the user's name. Because the keyword "facebook windows phone xap new"

<Grid x:Name="ContentPanel" Grid.Row="0" Margin="12,0,12,0">
    <Grid.ColumnDefinitions>
        <ColumnDefinition Width="*"/>
    </Grid.ColumnDefinitions>
    <Grid.RowDefinitions>
        <RowDefinition Height="*"/>
        <RowDefinition Height="Auto"/>
        <RowDefinition Height="Auto"/>
    </Grid.RowDefinitions>
<Button Grid.Column="0" Grid.Row="1" Content="Login" Click="LoginButton_Click"/>
    <Button Grid.Column="0" Grid.Row="2" Content="Get User Name" Click="GetUserNameButton_Click" Visibility="Collapsed" x:Name="GetUserNameButton"/>
    <TextBlock Grid.Column="0" Grid.Row="0" x:Name="UserNameTextBlock" HorizontalAlignment="Center" VerticalAlignment="Center"/>
</Grid>