this question has answer here:
i working around facebook sdk , angularjs. have trouble how dynamic loading facebook embed post in angular template.
after request ajax success doesn't show anything
<div class="fb-post" data-href="{{embedposturl}}" data-width="500"></div> any idea ?
the problem expression in data-href resolved {{embedposturl}} trigger 404 error. try write custom directive create data-href attribut if passed value not false.
if doesnt works, try load facebook sdk asynchronous after ajax call done.
and if need change url sometimes, try create whole element wit custom directive.
Comments
Post a Comment