Skip to content

Instantly share code, notes, and snippets.

Created January 10, 2018 08:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/85f38d31b821dcd8982b844b5abb6c11 to your computer and use it in GitHub Desktop.
Save anonymous/85f38d31b821dcd8982b844b5abb6c11 to your computer and use it in GitHub Desktop.
Microsoft Facebook Sdk Download
********************
Microsoft Facebook Sdk Download ->->->->
********************
http://shurll.com/c0cxl
(Copy & Paste link)
********************
What's newSurface Book 2Surface ProXbox One XXbox One SVR & mixed realityWindows 10 appsOffice appsStore & SupportAccount profileDownload CenterSales & supportReturnsOrder trackingStore locationsSupportBuy online, pick up in storeEducationMicrosoft in educationOffice for studentsOffice 365 for schoolsDeals for students & educators Microsoft Azure in education.. This new SDK carries forward the most popular capabilities of the existing .NET SDK. The namespace Facebook doesnt exist. What's newSurface Book 2Surface ProXbox One XXbox One SVR & mixed realityWindows 10 appsOffice appsStore & SupportAccount profileDownload CenterSales & supportReturnsOrder trackingStore locationsSupportBuy online, pick up in storeEducationMicrosoft in educationOffice for studentsOffice 365 for schoolsDeals for students & educators Microsoft Azure in education.. C# // Get active session FBSession sess = FBSession.ActiveSession; // Add permissions required by the app sess.AddPermission("publicprofile"); sess.AddPermission("userfriends"); sess.AddPermission("userlikes"); sess.AddPermission("usergroups"); sess.AddPermission("userlocation"); sess.AddPermission("userphotos"); sess.AddPermission("publishactions"); // Login to Facebook FBResult result = await sess.LoginAsync(); if (result.Succeeded) { // Login successful, fetch user likes GetUserLikes(); } else { // Login failed // Do work } public async void GetUserLikes() { if (FBSession.ActiveSession.LoggedIn) { string graphPath = FBSession.ActiveSession.User.Id + "/likes"; FBJsonClassFactory fact = new FBJsonClassFactory( (JsonText) = > MyFBPage.FromJson(JsonText)); FBPaginatedArray likeslikes = new FBPaginatedArray(graphPath, null, fact); FBResult result = await likes.First(); if (result.Succeeded) { IReadOnlyList pages = (IReadOnlyList )result.Object; AddLikes(pages); } } } C++ // Get active session FBSession^ sess = FBSession::ActiveSession; // Add permissions required by the app sess->AddPermission("publicprofile"); sess->AddPermission("userfriends"); sess->AddPermission("userlikes"); sess->AddPermission("usergroups"); sess->AddPermission("userlocation"); sess->AddPermission("userphotos"); sess->AddPermission("publishactions"); // Login to Facebook createtask(sess->LoginAsync()).then([=](FBResult^ result) { if (result->Succeeded) { // Login succeeded, fetch user likes GetUserLikes(); } else { // Login failed // do work } }); void GetUserLikes() { FBSession^ sess = FBSession::ActiveSession; if (sess->LoggedIn) { String^ graphPath = sess->User->Id + L"/likes"; FBJsonClassFactory^ fact = ref new FBJsonClassFactory([](String^ JsonText) -> Object^ { return FBPageBindable::FromJson(JsonText); }); Facebook::Graph::FBPaginatedArray^ likes; likes = ref new FBPaginatedArray(graphPath, nullptr, fact); createtask(likes->First()).then([this](FBResult^ result) { if (result->Succeeded) { IVectorView ^ items = staticcast ^> (result->Object); AddLikes(items); } }); } } Wed like to encourage you to try the Windows SDK for Facebook. 2 years ago Log in to Reply TATIANA DELGADILLO Hi, I need support about how to use this in unity3d for uwp Someone has any idea about it? 1 year ago Log in to Reply Windows LiveUser881 Thank for the sharing open windows of skd facebook, it is very useful for future Related Posts New Microsoft Windows advertising SDK with support for video interstitials Read more Whats New in Visual Studio Tools for Universal Windows Apps Read more Microsoft Facebook Hackathon: Recap Read more Facebook SDK for .NET Featured in the Facebook Technology Partner program Read more Marmalade adds support for new Windows Phone 8.1 features Read more . Compilation Instructions Compilation instructions for Windows apps are on the GitHub repo. Below are some code snippets in C# and C++ showing how to do a login and get a users likes. And, if you have suggestions for other open source projects that would help you make great apps, please let us know in the comments. The Windows SDK for Facebook is geared towards app developers creating Universal Windows apps on both desktop and phone. Simply awesome. Since this is open source, please make a case for it on Or better yet, since this is open source, you can implement the feature and submit a pull request. Simply awesome. What's newSurface Book 2Surface ProXbox One XXbox One SVR & mixed realityWindows 10 appsOffice appsStore & SupportAccount profileDownload CenterSales & supportReturnsOrder trackingStore locationsSupportBuy online, pick up in storeEducationMicrosoft in educationOffice for studentsOffice 365 for schoolsDeals for students & educators Microsoft Azure in education.. Sign in to your account. What's newSurface Book 2Surface ProXbox One XXbox One SVR & mixed realityWindows 10 appsOffice appsStore & SupportAccount profileDownload CenterSales & supportReturnsOrder trackingStore locationsSupportBuy online, pick up in storeEducationMicrosoft in educationOffice for studentsOffice 365 for schoolsDeals for students & educators Microsoft Azure in education.. App Samples Also included are sample projects that show how to integrate this library into your app. I was thinking that the best way would be to create a DLL with the SDK in for use within Unity. Is there a way to do it? 2 years ago Log in to Reply Alan I'Anson Managed to sort this myself 2 years ago Log in to Reply TATIANA DELGADILLO How do you do for use winsdkfb in unity? 2 years ago Log in to Reply Clint Rutkas Thank you for all the questions. Regards. 2 years ago Log in to Reply Peter Law Im trying to get this SDK to work with Unity, to do so it needs to be inside Unitys Asset structure. De Leon Thanks for this& ! 2 years ago Log in to Reply Ulixes App NuGet please! 2 years ago Log in to Reply Gaurav Gupta Thank you for sharing open source library of SDK Facebook. This feature would rely on the Facebook app implementing the fbconnect:// contract. When I compile the sdk, Visual Studio (2015) get an error. The SDK supports universal Windows app for Windows Phone 8.1, Windows 8.1 or Windows 10.Using this library, you can easily integrate Facebook Authorization, Like, Graph and other Facebook functionality into your app. Features included are: Authorization Login Logout Login Button Profile Picture control Dialogs Feed dialog Request dialog Graph Custom Stories Post to users feed Upload Photo Like a Page/Object Where to Get the SDK The SDK can be found on GitHub: If you are developing a universal Windows app for Windows Phone 8.1, Windows 8.1 or Windows 10 and are currently using the Facebook .NET SDK ( we recommend that you evaluate the new Windows SDK for Facebook for use in your app. For more information about Microsofts involvement with open source, check out these sites: Updated July 14, 2015 4:34 pm Share Tweet Share Share Skype Join the conversation Login with: Please sign in to comment 2 years ago Log in to Reply Michael DeMond An async void method? Really? 2 years ago Log in to Reply Tom Bezouka Doesnt using WebAuthenticationBroker also mean that the app can get terminated while doing login? 2 years ago Log in to Reply Muhammad Umair Irshad Is there a way to use the actual Facebook app for authentication or do a feed post instead of showing an in-app-browser window with this library? 2 years ago Log in to Reply Cedric Tallichet At least not with the Windows 8.x version. Learn more Microsoft Windows Blogs Office Windows Surface Xbox Deals Support More Software Windows apps OneDrive Outlook Skype OneNote PCs & Devices PCs & tablets Accessories VR & mixed reality Microsoft HoloLens Entertainment Xbox games PC games Windows digital games Movies & TV Books Business Microsoft Azure Microsoft Dynamics 365 Microsoft 365 Cloud platform Enterprise Data platform Developer & IT .NET Visual Studio Windows Dev Center Docs Other Microsoft Store Free downloads & security Education Store locations Gift cards Holiday gift guide View all No results Windows Blogs Home Windows 10DevicesWindows DeveloperMicrosoft Edge DeveloperBusiness Building Apps for Windows . 2 years ago Log in to Reply Clint Rutkas The SDK NuGet package is not published to nuget.org at this time, but it may be built privately using our command-line build. again thanks for providing the download link 2 years ago Log in to Reply Hiren Bhatt Nice and informative post for windows sdk for facebook. The new Windows SDK features are listed on GitHub. Im wondering if there is a way to auto log a user back in again? Looking at the implementation from Facebook, it uses cached data to recreate the session, but I havent seen anything similar with this SDK 5a02188284
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment