Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
[facebookios] Updated nuget dependences and fixed an error on sample
Browse files Browse the repository at this point in the history
  • Loading branch information
Israel Soto committed May 7, 2015
1 parent 13a3f7c commit 40fbb81
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,9 @@ void DeleteHelloPost ()
// Invite user's friends to use your Facebook app
void InviteFriends ()
{
var content = new AppInviteContent (appLinkUrl);
var content = new AppInviteContent {
AppLinkURL = appLinkUrl
};
content.PreviewImageURL = previewImageUrl;
AppInviteDialog.Show (content, this);
}
Expand All @@ -226,7 +228,7 @@ void AskPermissions (string title, string message, string[] permissions, Action
}
if (result.IsCancelled) {
new UIAlertView ("The request was cancelled", "If you are using a Test App Id, please, make sure that your account have an Administrator role at:\thttps://developers.facebook.com/apps/appid/roles/", null, "OK", null).Show ();
new UIAlertView ("The request was cancelled", "If you are using a Test App Id, please, make sure that your account have an Administrator role at:\rhttps://developers.facebook.com/apps/appid/roles/", null, "OK", null).Show ();
return;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
<Reference Include="MonoTouch.Dialog-1" />
<Reference Include="System.Web.Services" />
<Reference Include="Facebook">
<HintPath>..\packages\Xamarin.Facebook.4.0.1.4\lib\Xamarin.iOS10\Facebook.dll</HintPath>
<HintPath>..\packages\Xamarin.Facebook.4.1.0.0\lib\Xamarin.iOS10\Facebook.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<string></string>
<key>CFBundleURLSchemes</key>
<array>
<string>fb765057006871425</string>
<string>fb454287177934330</string>
</array>
</dict>
</array>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Xamarin.Facebook" version="4.0.1.4" targetFramework="xamarinios10" />
<package id="Xamarin.Facebook" version="4.1.0.0" targetFramework="xamarinios10" />
</packages>
Binary file not shown.

0 comments on commit 40fbb81

Please sign in to comment.