I am new to Symfony 2 and want to integrate facebook Connect. Can anyone guide me step by step how to integrate facebook connect in Symfony2??
Have a look a the FOSFacebookBundle, which does the job well, and has a good readme to set it up.
Related
I have been searching for the best way to build an application using Angular 4 (client application running over apache2), Spring Boot (Rest Controller) and Social and Local login.
I am kinda new to all of this, and I've be looking around for about one month and still have not a good idea how to implement that! Couldnt find a good tutorial for the tecnologies mentioned above...
I need to be able to let the user login via system's own login and social login like facebook and google. Could someone please point at the right direction?
I am not sure if that I am on the right track... I thought that would be easy, but I feel very confuse and dont see how to integrate the response from spring with my angular application. And the login with social networks will not be direct with the angular application. The user will authenticate with facebook, for example, and when facebook redirect to spring, Ill retrieve the user associated to that social networks account and return that to my angular application. In the angular 4 application, Ill should be possible to invite friends and use some other social networks related features.
Here are some of the tutorials i've read:
http://www.baeldung.com/angular-4-upgrade-for-spring-security-oauth/
https://spring.io/guides/tutorials/spring-boot-oauth2/#_social_login_click
Can someone help me, pointing to the right direction, or placing a good tutorial or anything that would help?
I ended up by just using an angular module called ng-social-login. At the backend, I called 'https://graph.facebook.com/me' passing the token that came from frontend.
Thats all. Using spring social wasnt really a good idea at all
I am not sure if you can use spring social with Angular4 as front end. you might want to explore direct call from backend server to facebook graph API with tokens.
Easy way is to use Angular4 and Javascript SDK provided by facebook, G+, twitter.
anybody knows a good tutorial on connect Facebook and mule
i just started learning Mule today and i found a punch of very good tutorial on how to integrate mule with twitter and it worked fine, but i couldn't find anything related to Facebook connection.
when i search the youtubefor tutorial almost everything is there (dropbox, salesforce, Linkedin ....)
am i missing something?
The Twitter and Facebook connector are extremely similar (they both require an OAuth dance, not the same version but similar), so if you are able to use the Twitter one, you should have no problem using the Facebook one.
To help you going further, here are two good resources:
A tutorial: https://github.com/mulesoft/facebook-connector/blob/master/doc/sample.md
The connector's doc: http://mulesoft.github.io/facebook-connector/mule/facebook-config-with-oauth.html
Can any one help me in getting facebook connect working in my cakephp 2.1 app.
Now I am able to user authentication with Auth, I need to add facebook connect to the same.
where users can register themselves by filling a user form or they can sign up through facebook. Googled a lot but not able to get it working.
A tutorial link or an example with complete code will be very useful, I am new to cakephp.
Thanks in advance.
I'm using this plugin and it's working well with my Cake 2.1
https://github.com/webtechnick/CakePHP-Facebook-Plugin
There is a readme on that page ;)
Can I connect to 2 different websites at the same time using fb connect?
I have a networking site that uses FB connect but I also have a forum that I would like my users to register on is there any way that when they sign up to one site they automatically create the same user details on the other site using the connect button?
Or is there another way around it so that I can have them join both sites at the same time so they dont create 2 different users?
Any help would be great but please put it in simple terms as Im not very experienced at things like this :)
Your best bet would be to create your forum as a subdomain of your main site, so https://forum.yoursite.com. If you do this, even if the two are hosted/run separately, you can use the same FB login.
Otherwise if they're not the same site then really users shouldn't be signing up for both at the same time.
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