Facebook Login + Registration - facebook

I have looked through dev docs and and tutorials via google engine, but I am kinda lost plus I am no expert in logic or programming..
I am trying to combine with login and register on the page. If user have fb account, they can log in. and then have database store their information for shopping purpose. if not, they could register and again have database store their info.
How to combine them using PHP SDK? Also I notice that I couldn't use Javascript SDK for login and register (do I need to create two apps for login and register?)
Insight will be appreciated. thank you very much

If you are talking about the "Registration Plugin" then I've written a tutorial about this:
How To: Use Facebook Registration Plugin As Your Registration System

Related

Alexa account linking using facebook

I am trying to build an alexa skill, that would have facebook login as an account linking provider. I have built a development version of it that is working with my own account. Now I am thinking of submitting facebook app for review, so I could make my app public and publish alexa skill.
First probably that I encountered is that, I need to specify platform in FB app. The closest one to my use case, might be website. But what url to put in the field. My skill url?
The other thing, is that I want to get users friend-list, which use my app. This scope requires user permission. To get it I have to write how am I going to use that data, how to test it and provide a screencast how it works. There are bunch of requirements like, the button to the login page has to be in FB style, while in alexa app it is just a simple link to login page. Also how to write, testing instructions?
The more I think, the more it seems that it is impossible to have FB service as the account link service for alexa skills. Maybe someone has succeeded to build a working live skill with FB as account linking service and can share your experience?
What url to put in the field. My skill url?
Yes, but I doubt how a "website" is the closest match to your usecase.
write how am I going to use that data
Answer how your skills uses the users friend list, why do you want it and how it adds to the user experience of your skill.
the login page has to be in FB style, while in alexa app it is just a
simple link to login page.
This should be fine, mention how login works in Alexa and how your skill users get redirected to FB login page.
how to write, testing instructions?
Write it step by step and as easy as possible, just like how somebody is going to use it. Create an Amazon test account and add it under beta testers in you Alexa skill. Share this test account along with the instructions.
The more I think, the more it seems that it is impossible to have FB
service as the account link service for alexa skills.
Give it a try, it should be certainly possible. I would have tried it like this.
And wait for their reply. If there are any mistakes or they need any other data/instructions/clarifications, they would hopefully leave a comment.
PS: I don't have any experience in submitting a Facebook app. Checkout other answers as well, this is just my suggestion.
All the best.

creating a facebook app showing events in joomla

i'm searching the internet for a good howto concerning facebook developing, but can't find it. I created a facebook developer account, i also created an app (which is in developing mode).
But now i'm stuck...
I want to show the events of (my) facebook (fan) page in my Joomla website. I can find (joomla) modules for the website part, but they all say that i need a facebook app. Unfortunately nobody is explaining how you do this...
My question: what do i need to do in the facebook developer portal to create this functionality?
(if there is a representative example somewhere please refer me to it).
Thanks for the time and effort!
Kind regard,
Mijno
When you integrate your blog or cms with an app that you admin, you don't need special permissions.
So just create a facebook developer account.
Go to Apps & create an new app.
Fill in the fields. This will create a standard app and provides you with an App ID and the App Secret. This should be enough.

facebook log in plugin for wordpress?

I'd like to have a facebook or alike log-in plug-in feature for my website so that my users would just user their social account to log in to my website. What would you recommend? Thanks!
PS I'm using wordpress 3.3
Using oAuth you can achieve this. From facebook developer account you have to create an app id. Then use that app id to send the request.
Read https://developers.facebook.com/docs/facebook-login/login-flow-for-web/ It has got everything you would like to implement for social login using facebook.
https://wordpress.org/plugins/facebook/
here's one. compatible with wordpress 3.3. Also has a couple of advanced features for example being enabling the user to share stuff to his timeline.
Also, if you just require a simple login check this out: https://wordpress.org/plugins/oa-social-login/
This plugin allows the user to sign in from any of the popular social networks into your site.
Or, if you want to code a custom functionality, you should check facebook sdk.

Where to begin with using Facebook's PHP SDK to create events?

I want to use Facebook's PHP SDK to create/update/cancel events on our Facebook Page, whenever they are added/modified/deleted within the "calendar of events" database table on our web site.
Where do I even begin with this? I have the SDK installed, but I am having a really hard time figuring out how to register my own custom app and install it to my Facebook user account. I did manage to get an App ID and App Secret, and I also created a minimal canvas and indicated which persmissions the app needs. But, for the life of me I can't figure out how to install the app on my FB user account.
I don't want to make the app available to others, and I don't even want to access it while I'm logged into Facebook. I just want to be able to do something like $fbapi->createEvent() within my own code on my own site.
Also, do I need to have an authenticated Facebook user session/cookie when calling the API to create the event? It seems to me that would eliminate the possibility of creating events via a command-line PHP cron job.
I feel like I am understanding bits and pieces of this, but there are gaps in my understanding and I'm not seeing how all the pieces fit together. Any direction would be immensely appreciated!
First play around with the Graph API Explorer https://developers.facebook.com/tools/explorer so you can understand better how the Graph is used. From there you can then learn about the PHP SDK http://developers.facebook.com/docs/reference/php and how to do the same things you did with the explorer tool. Events are here documented here: http://developers.facebook.com/docs/reference/api/event/

How to integrate app with facebook?

I made a quiz app using wordpress using a quiz plugin so that, the work could be done easily. I do not have any knowledge about how to integrate that app that I've made with facebook. Right now I've just kept the app on my localhost.
Do I need to add some API's or something like that? I have not handled AJAX and all that before but I do have knowledge about php.
I think you should clarify a bit about how do you want your app integrate with Facebook:
1) You want your quiz application as an on-Facebook canvas page application (which seems to be the case here):
Register an application on Facebook. The guide here is fairly easy to follow.
Read the basics about canvas Facebook
Learn about OAuth 2.0 authentication with Facebook. This step is optional since there is a good PHP library for Facebook. But I think it will saves you time afterwards.
Use PHP SDK for Facebook.
2) You want to use your own website, just add "login with Facebook" function (to record high scores, for example):
You should check Facebook integration for website. It's not too different from the first case.
I just give you the starting place. If there's something that is not clear enough, feel free to drop a more detailed comment.