Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adress social plugins parsing #78

Open
PierreMardon opened this issue Sep 28, 2014 · 1 comment
Open

Adress social plugins parsing #78

PierreMardon opened this issue Sep 28, 2014 · 1 comment

Comments

@PierreMardon
Copy link

Hi there.

I'm glad to find a angular way to use the FB API, but I faced a problem with my app using HTML5 navigation and social plugins (like button for example).

The only way I found to have FB parsing my like divs is to call FB.XFBML.parse, and it seems it's not implemented in the Facebook angular service.
So based on http://stackoverflow.com/questions/23806303/angularjs-socials-share-buttons-troubles-the-display-is-only-in-one-page I ended with an ugly :

$scope.$watch(function() {
                return Facebook.isReady();
                }, function(fbIsReady) {
                if (fbIsReady) {
                    $window.FB.XFBML.parse($elem.parent()[0]);
                }
  });

Did I miss a way to call XFBML.parse using your module ?

@Morpho
Copy link

Morpho commented Jul 21, 2015

Sorry, just here to say that I got the same issue. I cannot render facebook comments..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants