-
Notifications
You must be signed in to change notification settings - Fork 7
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
Share-button, comment-box Doesn't show when inside of ng-view #4
Comments
I made a workaround changing the HTML by listening to attrs.$observe and calling FB.XFBML.parse(element[0]). Here is the source: http://stackoverflow.com/questions/23516305/facebook-comment-plugin-angularjs And here is the code i changed:
} FacebookShareDirective.$inject = ['facebookService']; angular.module('angularjs-facebook-sdk.directives') |
Is this problem already fixed? I included this very nice angular plugin into a project today. I tried if everything works with inserting the FacebookNameDirective. Quickly I had to notice that it only works when it was placed outside of ng-view, just like this issue states... |
+1 |
I have the same problem. |
I'll take a look. |
- Removing deprecated plugins - Adding ngView to example (Ref issue #4) - Changed version of Facebook SDK: v2.3 -> v2.9. - Changed angular version: 1.4.4 -> 1.6.4.
@pajingko @cpeker @jverhoelen @renanfranca I just updated the plugin to version 1.1.0 (https://github.com/wlepinski/angularjs-facebook-sdk/releases/tag/v1.1.0). Please take a look at the example folder because it's working for me now. I think that the upgrade of both Angular and Facebook SDK did the trick. If this version doesn't work for you, I'll need a JSBin or something similar with a code sample of the problem. |
I found the same problem here on stackoverflow (wasn't with your framework): http://stackoverflow.com/questions/18392946/facebook-comments-box-twitter-feed-broken-in-angular-symfony-web-app
Is there any workaround? I notice that profile picture works because you make an api call inside the directive.. and every time i change route it's bring the picture as expected..
The text was updated successfully, but these errors were encountered: