
Run Facebook on PC and enjoy this free social networking app from the large and gorgeous display on your PC! Reach out to distant family, connect with old friends, and meet new friends! BlueStacks app player is the best platform (emulator) to run this Android app on your PC or Mac for an immersive user experience!
You can view the MSDN docs on the await/async keywords here.There is also a blog post on how await/async is necessary with UI dialog boxes, similar to the Facebook auth dialog.Facebook is a social networking app developed by Meta Platforms, Inc. Note that if you are using the following code snippets in C# functions, that the functions have to be marked with 'async' in order to compile and be used correctly. Once you've added the projects to your solution, add a reference to them in your application references.
winsdkfb\winsdkfb\winsdkfb.WindowsPhone\. Winsdkfb\winsdkfb\winsdkfb_uwp\winsdkfb_uwp.vcxprojįor Windows 8.1 Universal Applications add the following vcxproj's to your solution. Alternatively you can grab the SDK directly from Github and add the following project to your solution
Search for "winsdkfb" in the Nuget package explorer and install the package for your project.
Under the "OAuth Settings" section, enable "Client OAuth Login" and "Embedded browser OAuth Login".įor Universal Windows Applications for Windows 10 you can use the Nuget package within Visual Studio. Click "Settings" from the menu on the left. Enter the Windows Phone SID from 3 in Windows Phone Store ID textbox. Enter the SID from Step 2 above in the Windows Store ID textbox. Click on "Add Platform" and select "Windows App". Click "Settings" from the menu on the left. Add the Windows Store ID and Windows Phone Store ID to the Facebook app created. Use the PhoneProductId without hyphens as the Windows Phone SID.
Look for mp:PhoneIdentity PhoneProductId="b19f9ff4-f0fe-4056.". Get the Windows Phone SID for your application String^ SID = WebAuthenticationBroker::GetCurrentApplicationCallbackUri()->DisplayUri ģ. Using namespace Windows::Security::Authentication::Web String SID = WebAuthenticationBroker.GetCurrentApplicationCallbackUri().ToString() To get an SID during development, use the following: You can get the ID for your published app via the process outlined at this URL, but this is not the SID your app will have prior to being signed and submitted to the store. Get the SID (Windows Store ID) for your application.įacebook uses the SID of your app as the ID for its redirect URI. Create a new Universal Windows app or open an existing Universal Windows app.Ģ.