How to implement the Facebook Api in Windows Universal apps? - c#

I'm trying to add functionality to allow sharing a screen shot of the app screen, using the Facebook sharer facility. But I can't find any relevant sources to set this up on Windows Universal.
Does anyone know the steps involved in setting up the Facebook Api in a Windows Universal application?
Or can you point me in the direction of a worthwhile link on the subject.
After logging into the FB developer dashboard, and clicking "getting started" , a screen showing the available platforms shows, not including Windows.
I assumed that the correct option to pick would be "Website" , but as the setup process doesn't seem relevant to Windows Universal development, as setup asks for a website URL:

At this moment, Facebook doesn't have an official SDK for Windows but you can use any of the open source alternatives.
I suggest you use the 'C SDK' library (http://facebooksdk.net/). I have never used it myself but it seems quite mature and popular.

Related

Photo edit extensibility for UWP?

In Silverlight it was once possible to register an app for the edit-dialog in the photo hub (https://msdn.microsoft.com/en-us/library/windows/apps/hh202966(v=vs.105).aspx).
Is there an UWP-equivalent now? Or is there any other way, my app can be started from within the photos hub?
This functionality is not currently available in the Universal Platform. You can use the Windows Feedback tool ("Developer" section) or UserVoice to request that it be made available.

Facebook SDK for Unity with mobile apps

I'm planning on building Unity mobile apps using the Facebook SDK for Unity.
However it seems before the app can be authorized it needs to be in the store. As it seems from my app page:
Also how can I get the connection allowed via UnityEditor for debugging as well:
None of these seem to make sense to me :(
You don't need to specify the store id's to make it work, then it would never work. You can also switch your app to sandbox mode, but be aware that only users in this facebook project will have a opportunity to login and act properly.
If you want to debug in the UnityEditor, you should get the newest (BETA) facebook SDK version, and the platforms set should be the platform that you are aiming (for mobile: android, ios). UnityEditor will take care of itself, giving you link to get app token to login in the editor.
Don't forget to follow all normal steps of setting your app properly in unity, just like in the documentation of Facebook Unity SDK.

c# metro apps live connect

I am creating new Metro application in c# and I would like to sign in users using MS Live connect. There are lot of examples on the internet how to do this, but the Live SDK has been changed (live:SignInButton is not available), Live connect developer center was changed (I am not able to find Package Display Name, Publisher text boxes,...).
What is current best way howto use Live SDK in the C# Metro application or is it possible to use WebAuthenticationBroker?
Take a look at the DotNetOpenAuth library which allows you to easily integrate your live id and other openid providers for authentication. FYI This library is available as a nuget package too.
Example available # http://code.msdn.microsoft.com/windowsapps/Web-Authentication-d0485122

Getting started with silverlight/facebook development

Is there any very simple sample applications to get started with facebook dev?
I just want to know how I would connect to facebook through silverlight, get the authentication stuff out of the way and then develop, debug and test my applications.
Do I need to be connected to a server which connects to facebook or can I do the development from my own PC which can 'talk' to facebook?
I'm also a bit worried about the updating APIs. Some of hte samples seem a bit old? I'd really like something for the latest version of silverlight/facebook API...
We are working on posting some silverlight samples to the Facebook C# SDK on Codeplex in the next week or so. You can find that SDK at http://facebooksdk.codeplex.com or http://www.microsoft.com/facebook. We will have an in browser and out of browser sample. For now, we have other samples on there that you can look at. For the most part the SDK works the same on any .Net platform.
I've been working on a SL application with facebook integration that utilizes. I use the JavaScript SDK to log the user in, then pass the access_token into my SL app via a ScriptableMember method. I then use the FacebookApp constructor that takes an access token to create a new Facebook App object. Then I can make my calls directly from the SL app, without the need for a server-side proxy.
One thing to note, in your Facebook applicaiton settings, just enter http://localhost/ without the port for your site address.
I'm eagerly awaiting a little more guidance from Nathan, as he's a developer of the C# SDK

How do I embed ads in .NET Compact Framework application?

I'm writing a C# .NET Compact Framework application and would like to embed ads into it (e.g. small banner on top of every screen). However, I couldn't find any advertising SDKs. Aren't there really any?
If implementing it from scratch, how would you do it? Google's Ad Sense for example only works with mobile websites (that can be reached by Google's bot).
Most mobile ad networks are focused on iPhone apps, but the only one I could see that supports Windows Mobile is SOMA by a company called Smaato.
Amobee has a advertisement SDK that can return a banner of predefined size to an application.
They offer a JAVA Api, but getting an ad from their service is as easy as accessing a URL with some query-string and downloading a image.

Categories