Questions tagged [fosfacebookbundle]

The FOSFacebookBundle enables integration of the Facebook PHP and JS SDK's.

FOSFacebookBundle is a bundle for which helps you to integrate Facebook Platform to your application. It integrate both the PHP and JS SDK's.

You will, of course, need to create an application on the Facebook website first.

Use case

A quick application could replace the login system of your site using the Facebook login, as you can have on StackOverflow for example. The bundle use the default security system of Symfony 2.

Information

This bundle is maintain by a groups of developper called FriendsOfSymfony (from which the FOS inside the bundle name comes).

43 questions
0
votes
1 answer

how do i get email address from facebook using fos facebook bundle

I have successfully integrated my fos facebook bundle with my symfony2 application.But no email address in the resulting data.Is it possible to get email address of the logged in person using fos facebook bundle?
user3107066
  • 97
  • 1
  • 10
0
votes
2 answers

FOSFacebookBundle error after login The controller must return a response (null given)

I am using Symfony FOSUserBundle, SonataUserBundle, FOSFacebookBundle. I have added login button to my app. I am able to login using facebook but after login the page redirects to demo/secured/login_check and I get the below error. "The controller…
vishal
  • 3,993
  • 14
  • 59
  • 102
0
votes
1 answer

Detect first FOSFacebookBundle login

I implemented successfully the FOSFacebookBundle with the FOSUserBundle. Everything works great. Now, I'd like to be able to detect the first connection of an user with the FOSFacebookBundle. I have a FacebookAuthenticationSuccessHandler which is…
Bastien Libersa
  • 680
  • 8
  • 20
0
votes
1 answer

Will FOSFacebookBundle create apllication(user) session in symfony2?

I am using Facebook integration for one of my symfony2 application. I have used FOSUserBundle and FOSFacebookUserBundle. I can able to login through form in my application and user session was created. Same when I am using FB to login my application…
Beginner
  • 379
  • 1
  • 4
  • 14
0
votes
0 answers

Fatal error: Class My\UserBundle\Security\User\Provider\FacebookProvider

I'm trying to use FOSFacebookBundle in Symfony 2.3 as it says in https://github.com/FriendsOfSymfony/FOSFacebookBundle/blob/master/Resources/doc/2-integration-with-fosuserbundle.md but I always get the error: Can't solve Fatal error: Class…
0
votes
1 answer

FOSFacebookBundle & FOSUserBundle for differents users in front & back

I want to use the FOSFacebookBundle with the FOSUserBundle to manage: a front with facebook connect a backoffice for admin users with a classic login/password (no facebook connect here!) I'm using Propel as ORM and the…
Lionel
  • 387
  • 3
  • 18
0
votes
1 answer

How to use Facebook php-sdk via FOSFacebookBundle?

I want to use the Facebook's PHP-SDK in a Symfony2 project to send notifications. How is the best way to get the PHP-SDK in a controller?
Nico Rodsevich
  • 2,393
  • 2
  • 22
  • 32
0
votes
1 answer

Retrieve User entity with the salt property

Is there anyway I can load a User from the database with the salt property inside the object? I'm using FOSUserBundle integrated with FOSFacebookBundle. I mande one modification that lets a user logs in with Facebook and, if his e-mail is already…
Daniel Ribeiro
  • 10,156
  • 12
  • 47
  • 79
0
votes
1 answer

FOSFacebookBundle does not work on my site

I try to use FOSFacebookBundle & FOSUserBundle. It set up as the manual. An error does not come out. A user registration, login, logout of FOSUserBundle was success. And invitation registration was added. It is normal so far and I understand…
R.Atim
  • 367
  • 1
  • 7
  • 16
0
votes
1 answer

Authentication access control ROLES

Using symfony2.1 und FOSFacebookBundle: If the user is typing www.example.com, e.g. the user closed his browser, then I want to do a redirect to www.example.com/secured if he is still authenticated. I can not get in the indexAction if the user is…
craphunter
  • 961
  • 2
  • 13
  • 34
0
votes
1 answer

Set facebook app_id for each of my different apps in same Symfony2 project

In other words, I have different bundles for each of my fb apps and want to load app_id and app secret depending on the bundle being used. I am also using FOSFacebook Bundle My config.yml: parameters: # facebook my_app_id: test …
Rishi
  • 667
  • 1
  • 6
  • 13
-1
votes
1 answer

FosFacebookConnect Popup disappears immediately

i use Fos Facebook Bundle v 1 in symfony 2.1 but it works at 90%. Some browers (but it's work usually with all browers), opens a login popup but close it immediately, where the problem may come ? Thanks a lot !
-1
votes
1 answer

get picture of profile in FacebookBundle

someone knowS how to get a profile picture from Json data,I get all information(usernam,firstname,FacebookId) but I can't have the link of picture of my profile : namespace djepo\UserBundle\Security\User\Provider; use…
Nll
  • 819
  • 5
  • 19
  • 41
1 2
3