문제

There are two popular bundles for connecting facebook and Symfony2-based applicaions: FOSFacebookBundle and HWIOAuthBundle.

Which one is better to manage simple facebook connect?

도움이 되었습니까?

해결책

I have had problems implementing FOSFacebookBundle, exactly with the connect option... which was not persisting the tokens in the users entity (FOSUserBundle) without extensive overriding of provider methods.

On the other hand HWIOAuthBundle worked like a charm, the downside of this one being that it needed a bit of work to make it look like FOSFacebook.

I even read a comment on a blog... or github bug report... can't remember exactly, where a FOS dev encouraged the use of HWI bundle because it's being maintained and developped in a better way then the FOS one. (found it. first comment on this post https://coderwall.com/p/qkdzca)

Way to setup HWIOAuthBundle that works: https://gist.github.com/danvbe/4476697

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top