-
Notifications
You must be signed in to change notification settings - Fork 304
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
Callback function #32
Comments
I've fixed the callback functionality for this in a fork. I did however remove support for Google+, Vk and Blogspot, since I didn't need them. |
Hi I get error: FB is not defined. Any solution? |
@seegermattijs, Can you post your init code? |
Just tested your code and got this: jquery.socialfeed.js:245 Uncaught ReferenceError: FB is not defined |
Oh, sorry about that. I forgot to mention in my description that since I updated the code to use Open Graph v2, you'll need to include the Fb SDK init script before you call the plugin:
|
Thanks, errors are gone now but it seems like the facebook posts aren't loaded? |
That might be because of a fb bug that's currently happening. What kind of posts are you trying to get? |
I tried with 'dolomiti' and '@primaverasoundfestivals'. Would like to get posts from a Facebook page. |
I think that's the same bug that I was encountering. I just uploaded an updated version that accounts for the bug, I thought it was just temporary, so I didn't bother uploading the fix. Try that. |
Too bad, Facebook posts still not appearing. |
The script is currently working on my projects, so it might be something in your init. |
Thanks a lot! |
It works now! Facebooks posts also show posts of users who tagged the facebook account. Is there a way to only show posts of the page? |
this is a different topic: |
I changed my moderation function to following function:
Unfortunately facebook posts aren't showing at all, maybe because the version of @graphical-iain is a bit different? |
Try this function: |
Facebook posts of users still showing with that function |
Cool, so no you only need to fillter the author. return (content.social_network == "facebook") ? content.author_name == Let me know if it does work for you. On Fri, Mar 6, 2015 at 10:26 AM seegermattijs notifications@github.com
|
Awesome! That works great. Thanks a lot! |
Hi @pavelk2 and @graphical-iain But if the most recent posts by coincidence are three posts by random people about the page, The counter stops at 3 but I still don't have posts from the page itself. How can I fix this? |
The way social-feed currently works: the limits you define are injected into the requests to social-networks - so social-feed request from the facebook only the latest 3 posts. Then social-feed filters them - in your case all of the posts do not pass the moderation function, which means that social-feed has nothing to show. |
Hi @seegermattijs @pavelk2, and them where I need to add this change: thank you |
hi @bettyorganero i don't understand how you installed the socialfeed script. |
Hi @HartLarsson thanks for your answer. @pavelk2: Try this function: I tried this but also it does not work :
Do you have any information about How social-feed.js works with Facebook? |
i post the general example you find in the read.me with only facebook just to show you where is the callback function and the Moderation function Pavel have post before. |
why you need a callback or moderation? for visualization only you dont' need any of these function so you can remove them from the configuration |
@HartLarsson thanks for your time but the original code like the general example from read.me, don't work with Facebook. With twitter is ok but I need to work with Facebook. |
for me works, if you have created your app_id and secret key. |
If there are no any messages for some account - callback function will not be triggered
The text was updated successfully, but these errors were encountered: