Facebook client login for windows phone 7 - facebook

I want to make a simple Facebook client for WP7 and I'm looking at how I should do the login.
There's a tutorial here where the client is asked to authenticate through the browser.
I'd prefere doing the login within my application and I need more than just to 'grant acces', I need the users wall feed, friend list, messages etc.
Any idea how to do the in-app login?

I think you cannot authenticate the user directly from your app, with out the help of browser. Facebook won't allow it.
Anyway you can take the help of the Facebook SDK, which helps in the authentication process.
Refer this Blog for the implementation of the Facebook SDK for WP7
And additionally, you can get all the permissions that you need, by specifying the Extended permissions in your authentication process.

There is also the updated article from Nokia if you want to find more here

Related

How to integrate Facebook login in app

I am trying to create an app that requires user to login. There should two options in my app, either they enter new details or use Facebook login. I want users to login using Facebook. Is there any tutorial you can point me to?
Have you even tried simply googleing "windows phone facebook login"?
Official FB Resource:
https://developers.facebook.com/docs/facebook-login/login-for-windows-phone/
Official MS Resource:
http://blogs.windows.com/buildingapps/2013/11/14/sign-into-windows-phone-8-apps-with-facebook-login/
To get started quickly you should also take a lookt at the Azure Mobile Services. This can take care of authenticating users through MS Account, Facebook, Twitter etc.
http://azure.microsoft.com/en-us/documentation/services/mobile-services/
You can use http://facebooksdk.net/ for windows phone.
You can also find tutoriel to implement a Facebook login

OAuth2, Facebook authentication and a mobile API

I'm developing a mobile API and I would like to allow mobile users to log in to my mobile application using their Facebook account.
I've been struggling to find some detailed information regarding this request. Could someone point me in the right direction? I'm using the following Laravel package for OAuth2:
https://github.com/lucadegasperi/oauth2-server-laravel
As I understand, the user clicks the "Login with Facebook" button and then proceeds to authentication. Facebook provides the access token as a result. But how does a user account appear on our server? And to my knowledge, it is our server that should provide an access token which is tied to the user account on our database. Could someone clear this up?
Have you looked at the Facebook mobile sdk guides?
iOS: https://developers.facebook.com/docs/ios
Andriod: https://developers.facebook.com/docs/android/
The package you mention looks like it performs oAuth authentication, and I don't think you need that. If I understand correctly, you should be able to use the Facebook sdk to perform the authentication and tell your app that the user is authenticated. You will have to create a user account for them (for example, add a record to the users table in your database) and store their Facebook ID.

Facebook Login without a Facebook Account nor through a third-party app

Does anyone know of a way to use social logins without having to create an account with a social media website? For Example, I want to use Facebook's Login on my website, but I do not want to create a Facebook account nor an app just to use their login.
Far as I know it pretty much requires (facebook) an App to be created (on developer site for facebook) in order to utilized services with a website.
Unfortunately, in order to maintain a safe development environment, and to prevent the creation of spam apps, it is required that Facebook manage its developer users. This is to allow them to block apps that act maliciously, and to allow permissions to be managed on their server for the app access token. For a more detailed answer, I'll refer you to one on StackOverflow by Lix.

connecting to Facebook via custom UI through using the xauth

I am working on a mac application which involves Facebook support so that they can share to Facebook via our app.
For this, I am using Facebook Graph API's which internally uses oAuth protocol to access user resources. In this process, it uses webview to enter users credentials(username and password) which provides the "Access_token".
But my requirement of the application is that it should not use webview to enter user credentials rather it should use other view controller to provide user credentials. So I need to go for xAuth protocol as in twitter uses.
Can anyone help me in this issue? If facebook supports xAuth, please make suggestions.
Facebook doesn't offer "desktop" application authentication support as detailed here: https://developers.facebook.com/docs/authentication/
What you would have to do, is get them to authorize your app on a website, then use the access token for the desktop app and that is if your app is connected to some kind of server.
Otherwise you will have to follow their suggestion of embedding a browser and reading the access token once it is received.

Is it possible to post to Facebook without using Facebook Connect dialogs?

I would like to post updates to Facebook from my iPhone application. I know that there is a Facebook Connect project, but it requires displaying dialogs for entering user's credentials, dialog for posting content, etc. I would like to be able to get the credentials from application settings and post whatever the user put into UITextView.
Is it possible? or am I stack with Facebook Connect?
Thanks!
You need to use Facebook Connect to authenticate and let the user set privacy settings for your app on their profile. You might technically be able to write all the authentication code yourself (see Facebook's Developers page about authentication) but why bother when the experts have done it for you?
You can then use the Facebook Connect API to do whatever you need to do with Facebook, assuming the user has give your app permission to do so.