pavelk2 / social-feed

JavaScript plugin that shows a user feed from the most popular social networks
http://pavelk2.github.io/social-feed-example/
MIT License
963 stars 304 forks source link

Facebook feed doesn't work #290

Closed vushe closed 6 years ago

vushe commented 6 years ago

I'm using plugin for first day, so maybe missing something. But Facebook feed has disappeared a few minutes ago?

vushe commented 6 years ago

Works again. Will test more with personal token and reopen issue by the need

vushe commented 6 years ago

I don't definitely understand what's going on. Issue repeated again with my personal token. Looks like Facebook feed is unstable. Nothing is displayed on page load in browser. Console is clean too.

shinoo187 commented 6 years ago

Me too : Nothing is displayed on page load in browser. Console is clean too.

vushe commented 6 years ago

It actually works fine. Issue seem to be related to app token. So you need to obtain one from Facebook.

Please note that provision of your token in public code can be somewhat insecure.

shinoo187 commented 6 years ago

Hello,

yet even when I take your test model (with the test token) it does not work.

I have as error in the console:

XML parsing error: tag not matching. Expected: </ img> Location: /bower_components/social-feed/template.html Line number 1, Column 275:

for it to work I use another template:

`template_html: '

', ` But it works for twitter but not facebook Do you have an idea ? Dimitry
vushe commented 6 years ago

Hi! Test token seem to be expired or such.

vushe commented 6 years ago

Cannot tell what's wrong with the template. I confirm that I have no issues like that and Facebook feed is fine with my custom token.

shinoo187 commented 6 years ago

When I created my facebook app me API version is v2.11 and i have for the moment left the app in development mode for testing. Is this the way to go?

shinoo187 commented 6 years ago

It's Work ! the problem of template came from a problem of cross-domain ... (and the other piece of code which replaced the template.html managed only the tweets) Thank you!