Facebook SDK for Unity with mobile apps - c#

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.

Related

How to implement the Facebook Api in Windows Universal apps?

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.

Authorizing Xamarin PCL app with Azure Active Directory

I am developing a Xamarin PCL app using Xamarin.Forms and have a requirement to log in to it through Azure Active Directory. I have tried to achieve this by using Xamarin.Auth, however it seems that Azure AD doesn't support implicit grant flow as pointed out in the following link:
getting #error=unsupported_response_type&error_description=AADSTS70005: with token request
I am receiving the same error as described in that link. Does anyone have any idea how to go about this? I basically just want to be able to load the following page : https://login.microsoftonline.com/, log in using my azure active directory and on receiving a valid token, load the first page of my app. This is a requirement for all 3 platforms (Android, iOS and WP8), although right now I am just trying to get it to work on Android.
Many Thanks
in Azure AD we don't uswe the implicit flow for native clients - we use a public client version of the authorization code grant. If you want to work with AAD and Xamarin in a PCL we have a preview of the next version of our libraries, you can find more details in http://www.cloudidentity.com/blog/2014/10/30/adal-net-v3-preview-pcl-xamarin-support/. Note that such library is a very early preview that WILL change and that cannot be used in production at this point. An alternative is using Xamarin bindings to our iOS and Android native libraries, but those aren't suitable for a PCL.

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