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
1
vote
0 answers

Symfony2 - fosuserbundle - fosfacebookbundle Error : Array to string conversion

I am trying to override the edit|profile form of fosuerbundle the process went well except in my case i am using fosfacebookbundle and we don't have facebook users password so every time i update it requires the password confirmation.Also I don't…
Mkfootwo
  • 43
  • 1
  • 5
1
vote
0 answers

FOSFacebookBundle integration with custom User stuff (without FOSUB)

I don't use FOSUserBundle and I've got a UserRepository which manage my users :
peltho
  • 116
  • 6
1
vote
2 answers

FOSFacebookBundle redirect after signup

In my symfony2 project I'm using the FOSFacebookBundle and it's working ok. If the fb user already exists on the DB the user is logged in, by another hand if the user is not registered yet, the user will be added to the DB, and the data retrieved…
Zeux
  • 372
  • 1
  • 4
  • 12
1
vote
1 answer

fosfacebook bundle unable to get user information from facebook

I'm using Symfony 2.1 for a project & I'm using FOSFacebook bundle integrated with FOSUser bundle. when the user logs into my application no information is retrieved! i mean this line goes in exception : namespace…
1
vote
0 answers

FosFacebookBundle login button

How can I setup a custom login button with a translated string in FOSFacebookBundle ? I need to have something like {{ 'FOS.please_login'|trans }} inside the button because I use several languages.
Radolino
  • 1,834
  • 4
  • 26
  • 48
1
vote
2 answers

Login to symfony from android device

I have an android app that the user logs in to via facebook. I am trying to access my symfony api without logging in another time. Is it possible to log in to symfony with just the access token that I get from the android app?
1
vote
1 answer

Symfony2: unable to impersonate user when website log-in using two different user providers

In my website user can log-in with simple account (created in my website, configured MY_OWN_USER provider, which selects user by email) or using facebook log-in (integrated through fosfacebook bundle). When i'm trying to impersonate user (appending…
Aurimas
  • 95
  • 1
  • 8
1
vote
1 answer

How to use Facebook server-side flow with FOSFacebookBundle

The default implementation of FOSFacebookBundle is using client-side flow. I've tried it and it works. Now I need to implement the server-side flow. Then I do this: Hyperlink when clicked will go to a route where the Action is like this: $client_id…
Permana
  • 1,972
  • 2
  • 33
  • 51
1
vote
1 answer

Service not triggered : The controller must return a response (null given)

Hi everyone and huge thanks for the help, I am trying to get FOSFacebook work, but it seems to be impossible until now. I tried a lot of configuration, and a lot of fix but nothing worked for me. Here is my configuration…
Gerfaut
  • 119
  • 1
  • 3
  • 13
0
votes
1 answer

Insert facebook profile picture into blob column mysql

I'm trying to integrate facebook connect into our website (Symfony) for this we use FOSFacebookBundle. I was able to do that and getting my facebook id, first_name, and last_name and insert them into a new user in our fos_user column. Regarding the…
Mohamed Elloumi
  • 158
  • 4
  • 21
0
votes
0 answers

Facebook login APP for any domain

I have an app on Facebook to login. I want to use in multiple domains without having to add in the configuration panel. In the APP -> Settings -> Advanced, in the field Valid OAuth redirect URIs I see that you can add more domains but I don't want…
0
votes
2 answers

Faking authentication on Symfony2 tests - get('security.context')->getToken() on Controller returns differnt token than the one set up in the TestCase

I'm writing symfony functional tests for a Symfony 2.0 application that uses the FOSFacebookBundle (v2.0). The controllers I'm testing check for authentication like so: if($this->get('security.context')->isGranted('IS_AUTHENTICATED_FULLY')){...} So…
gtb
  • 470
  • 8
  • 14
0
votes
1 answer

Symfony/FOSFacebook - Unable to generate a URL for the named route "fos_facebook_channel"

After integrating the FOSfacebookBundle in my Symfony2 project, I get this error when trying to execute my project: An exception has been thrown during the rendering of a template ("Unable to generate a URL for the named route…
Rumokiga
  • 23
  • 1
  • 6
0
votes
1 answer

Symfony2: Unable to find the controller for path "/login_check"

I use FOSUserBundle and FOSFacebookBundle together. I set them abiding by official documentation: FOSUserBundle and FOSFacebookBundle When I log in using the facebook button I see: Unable to find the controller for path "/login_check". Maybe you…
FIMAk
  • 53
  • 7
0
votes
1 answer

Fos Facebook bundle integrate without FOS user bundle in symfony 2?

Does anyone have some tutorials on how can I integrate FOS-Facebook bundle without use of the FOSUser Bundle?
Ajay Patel
  • 791
  • 11
  • 24