Facebook login on windows 7 - facebook

I'm trying to build a phone app on the windows phone, I've decided to use Facebook as a mean of authentication, for users to login. I've been reading through the Facebook Mobile Dev page, but I couldn't see any SDK for a window phone native app.
Am I missing something? Is there another technique to login the user through Facebook?

I think you need to use OAuth in the web browser to get this to work. I used the Facebook c# sdk by following instructions on Prabir's Blog.
George

Related

Facebook login integration with phonegap

I'm new using facebook for developers, I want to use Facebook Login for my app developed in phonegap, where I want that when users want to login, it opens facebook standard page for them to continue with the process and return data to my app. But the first thing I found was that there were many solutions:
The Login Flow for iOS
The Login Flow for Android
The Login Flow for Web (without JavaScript SDK)
But none for what I want. I also found facebook github's solutions but, it seems to be only for Android or iOs, but not both of them:
https://github.com/phonegap/phonegap-facebook-plugin
So I have some doubts:
¿What solution should I use for phonegap integration?
I know that I need an app-id that I can find it at facebook's developers page https://developers.facebook.com/docs/facebook-login/login-flow-for-web-no-jssdk/ , but if that key is locally saved, at the devices, would it be safe?
Thanks

Unity3d Facebook SDK login with browser

I am creating a game application using Unity3d tool. In that I shared some texts and photos in Facebook. So that I have used Facebook SDK(Prime31).
Case 1: Facebook app already installed
If login the facebook from my app, the facebook application's login screen is opened.
Case 2: Facebook not installed
If login the facebook from my app, the browser will open the facebook login screen.
My question: Is it possible to open the browser window for facebook login even the Facebook app already installed?
Reason: If I use the case 2, the facebook login is success. But If I use the case 1, the facebook login is failed and it shows the "Invalid access token error". This is happened only in the "HTC" mobile devices. So I want to use case 2 even facebook app installed in the device.
If possible Can you give me the steps to do that?
You better ask them here instead of asking people on StackOverflow. Ask them on forum, PM or Email them on their page.
Only Facebook's SDK chooses how authentication occurs. We couldn't choose that one.
Finally I got this answer from Prime31 plugin forum.

API's to connect to facebook from windows phone?

I'm writing a windows phone app that should allows user to post status updates from within the application. Any link for the API's or help documentation that allows us to connect to facebook ?
Have a look at the Facebook C# SDK here
There is a sample you can look into about how to use the Facebook C# SDK here on GitHub in your Windows Phone App
Here is the starting point of using Facebook API
http://developers.facebook.com/
http://developers.facebook.com/docs/reference/apis/
Facebook_authentication_in_Windows_Phone_application

Facebook native mobile application and mobile browser sharing session

I have a website which allows login via facebook functionality and displays photos from facebook.
While accessing from a mobile browser I would like the website to automatically login(when the click on FB login button, without entering username and password) if the user is already logged in via the native FB application (iOS or andriod). It seems to be that I can do that by building a native iOS or android application and use facebook single sign on feature. Is it possible to do that without having the user install anything on their mobile device?
That is not possible.
Auto-Login relies on auth tokens that will be granted to a website or mobile app after a user approves an app. For security reasons, those tokens are tight to the cause they were issued for. Particularly, web tokens and mobile tokens are not interchangeable.
So you could build a native mobile app to get a "native token", but even if you would manage to (cookie-)inject it into a browser view, your website's backend couldn't use it.
More generally, you're raising an issue even facebook can't solve: Say you are using a facebook mobile app and logged in there. If you open facebook's web version on that very same phone, you'll have to log in there again. The root cause is the same as with above. Specifically, any native app is uncapable of setting arbitrary auth cookies into the OS browser. I personally believe this restriction will not fall, because it would have a large security impact - just imagine how any app could set (and possibly get) cookies for any website.
If they've never logged in facebook from their Mobile, how will your website ever know them ?
Is it possible to do that without having the user install anything on their mobile device?
Like PC's, users in a mobile device need to login in their phone in facebook's website before being eligible to login "automatically" to your website. When I say automatically, I mean they still have to go with the first time process of "Do you authorize this app/website to do X things on your account". That message is inevitable when using facebook's api on the web.
Hope this answers your question.
Is it possible to do that without having the user install anything on
their mobile device?
No this would not be possible. You need to have a native or hybrid app (phonegapped etc) to make it work. Mobile web apps run in a browser sandbox and without native code interface - you cannot get to the native SSO of FB on your mobile device
Did you have a look at this facebook page ? I'm not sure what you ask is possible, as basav said, but maybe you'll have some clues there.

iOS 5 Facebook Integration

I am writing an app and for the first time I want to integrate some Facebook SDK functionality. I want to have the user login to their Facebook account, then be able to choose one of their friends to "compete" against in the app.
I am following the instructions on the Facebook developers site for iOS but what I can't seem to figure out is how to present a "login with Facebook" view when the app is launched and then never again while the Facebook SSO is authorized or unless the user logs out of the app.
The example I'll use for this is like the DrawSomething app's workflow for authentication.
Any ideas of how to accomplish this? Tutorials or examples would be awesome! I am using iOS 5 with storyboards for the app if that makes a difference.
Thanks!
-Brian
First authenticate :
Facebook API/SDK integration