Can a DNN user be associated with a Facebook profile? - facebook

I would like the users on my DNN website to associate their accounts with their Facebook account. Once this is done, they should be able to login with either the website UN/PW or Facebook.
I currently have Facebook login integrated on the website using a 3rd party module. But the way it works is, that it creates a new user whenever a new profile is used for login. Instead of that, I'd like current users to specify their Facebook profiles in some way and then use it for login if they wish.
I am not sure if this is even possible. Any input appreciated!

You would need to check with the creator of the third party module you are using, there isn't anything in DNN specifically to do Facebook logins right now.

Related

Setup a Facebook Messenger Robot for another user?

I am developing a generic Messenger Robot that walks the user through a structured conversation. The user of the Robot can share whatever they like through configuration. For example someone could setup their life story and go through it in stages, childhood, college, professional life. Each of those stage could be broken down into sub-stages and so on.
Is there a way I can setup the bot for FB users? I don't want to have to go on the user FB profile in order to create a bot for them. I'd like my website or FB app to be able to set it up for the user without an fuss on their part. The user would just give the story and allow FB access while all the technical details would be handled in the background.
Ideas are appreciated,
--Matt
Just to wrap this up, a 3rd party can access a users Pages via the Facebook Login feature. Once logged in the 3rd party can generate an Access Token for the page. With the Access Token, the 3rd party can receive and send messages with a Bot.

Facebook: Social Plugins - do I need access to client's FB profile?

I'm creating a website for a local business and they also happen to have a Facebook page. I wanted to embed some of their facebook stuff on the business website. Here's an example of some of the things I want to do (see below). But, do I need access to the business's FB profile or can I create this without login information? Thanks!
that is called "like box": https://developers.facebook.com/docs/plugins/like-box-for-pages/
you only need to create an app, and you can do it under your profile - so no need to ask for business's credentials.

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.

Using facebook login authentication to access the website

In stead of website build-in login form, I use Facebook login to get user authentication, then they can browse all other page on my website.
My question is how to store user permission so that in all page, my website recognize that the current user is a authenticated user?
Is there any function in Facebook SDK provided these feature or I should use basic PHP function?
Thanks
The SDK itself doesnt offer you such a method to store the data. You have to do this by your own. There is own programmed component that can manage such for you. It stores the access_token for the users in a database. This can directly done via ajax. You can request for users permissions and store the data in the database...in one step!
Have a look at http://www.facebook.com/pages/Helper-Component-Community/222933037808340?sk=app_412923142052609

Facebook account to replace registration?

I'm new to all this. This is what i'm after and i'm sure it's possible.
I've got a script where people can register/login in to as members. What i'd like to do is tie it in so that it just uses Facebook users details for the registrations. I've managed to set it up to sign up and and complete a registration using a user's name and email.
What i'd like to do now is automatically log the user in if they're logged in on facebook, is this possible or will they need to click a login button that then takes them to their page? If they need to click a button to login, how do I go about getting the button to take their facebook details and log them in? Also what happens in regards to passwords on my site? Is that stored in the app somehow?
Ideally i'd like to use the popup version of verification rather than the iframe that i've got set up at the moment.
Cheers in advanced for any help for a n00b!
This is in fact possible. Although I for my part was never a fan of such things here's some human-readable (simplified) theory:
Facebook uses a system called OAuth ( http://de.wikipedia.org/wiki/OAuth ). That means, when you want to have the user login onto your site using Facebook you'll of course need to provide a button/facebook-login-frame (see documentation) that says "Log me in with Facebook" or so. You then access Facebooks API (more here: https://developers.facebook.com/ ) and basically tell Facebook who you are ("Hi I'm website XY"). While that happens your user is redirected to Facebooks "permission-landing-page". On that page he needs to confirm whether he is fine with your website accessing certain information (like his name). If he confirms your website receives an access-token granting you access to a subset of his user information which you can then use to personalize his expeirence on your website.
Check out facebooks documentation because they explain exactly your usecase in detail.
(here: https://developers.facebook.com/docs/authentication/ )
PS: You'll of course never have any access to his Facebook login/password. That's kind of the idea behind "delegating" the authentication via OAuth to Facebook. Facebook only provides you with an access token (bound to that particular user who logged in and granted your app/website permissions)