Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I am trying to load the facebook feed however it is not finding the facebook.php file that it requires. I can think of a few different ways to overcome this issue however since the module does not appear to adjust the url variable in the Social Stream js I was wondering what everyone else is doing so that we can get a patch rolled.
Comment | File | Size | Author |
---|---|---|---|
#16 | Screen Shot 2015-05-28 at 3.26.48 PM.png | 42.89 KB | awm |
#14 | Facebook-feed-not-working_2481987.patch | 687 bytes | awm |
Comments
Comment #1
Christopher Riley CreditAttribution: Christopher Riley commentedThere has been a new version made available which requires some reworking of the current module so although this is not a moot point it might be able to be addressed when the module is upgraded to work with the latest version of jQuery social stream.
Comment #2
Alex Bukach CreditAttribution: Alex Bukach at This Little Duck commentedComment #3
awm CreditAttribution: awm commentedDid anyone get this to work? Is there a workaround?
Comment #4
Alex Bukach CreditAttribution: Alex Bukach at This Little Duck commentedThe issue is caused by the fact that the latest versions of the plugin require server-side script for facebook (due to facebook API changes), so the module should be upgraded respectively. I'm working on this and should have it completed by the end of the week.
Comment #5
Alex Bukach CreditAttribution: Alex Bukach at This Little Duck commentedPlease update to 7.x-2.x-dev to have facebook support. Please test it on dev site first.
Comment #6
awm CreditAttribution: awm commentedI have tried this but still not sure if I've gotten the settings right or if it is a bug.
I have an account, a page and created an app with an id and a secret. I also added all necesary setting for the block/pane. but still cannot get the posts to show. I tried to access run facbook.php directlry from the browser ../pathe/to/libraries/facbook.php and got this error
Edit: I think this had to do with the plugin update. Sorry.
Comment #7
Alex Bukach CreditAttribution: Alex Bukach at This Little Duck commented@awm could you please double check you use the latest version of the plugin. If it's so, please check what's returned to the plugin at /js/jquery_social_stream/facebook.
Comment #8
awm CreditAttribution: awm commentedyes I am using the latest version.
I have been testing and I am a little confused.
1. You have jquery_social_stream.js.inc that has the facebook callback. It is not using the plugin at all. Is this how it is intended to be used or I'm mistaken
2. both the module facebook callback and the pluging have the wrong api endpoints
Here is what it should look like
Comment #9
Alex Bukach CreditAttribution: Alex Bukach at This Little Duck commented1. The plugin is first of all jQuery plugin. Yet the code at jquery_social_stream.js.inc does the same that facebook.php of the plugin.
2. I'm not a guru in facebook API, however facebook stream works perfectly on my side. What facebook settings you use?
Comment #10
awm CreditAttribution: awm commentedMaybe this because facbook changed their API recently and I have created a new app for facebook. So it works for you because your facebook app you are useing was created a while ago so it has gracful fallback. Perhaps to verify if it is an issue, try using a new facbook app/page.
my facebook settings for a test account are the following:
app id: 1595480254065174
app secret: 7fbc80f48730c99175c2388fac268afb
page id: 1441698036146234
Comment #11
Alex Bukach CreditAttribution: Alex Bukach at This Little Duck commented@awm I have created my facebook app this week for testing the new version of the module.
When asking about settings I meant that in pane or block, not in module settings.
Comment #12
awm CreditAttribution: awm commentedlooks like this is what is breaking it for me
When I add at least 1 link to the facebook page it starts working. I commented the iff statements out and it is working for status's too. I am not sure if this was meant to only work for links that are shared.
Comment #13
Alex Bukach CreditAttribution: Alex Bukach at This Little Duck commented@awm you should contact jQuery social stream maintainers (http://www.designchemical.com/) regarding this issue, since it's right what facebook.php contains. At least we should know the reason why it's so there.
On other hand we can update the module's code that replaces facebook.php. Could you please experiment with that lines and provide a patch?
Comment #14
awm CreditAttribution: awm commentedI will try to contact them. In the meantime I am attaching the patch that worked for me.
Comment #15
awm CreditAttribution: awm commentedComment #16
awm CreditAttribution: awm commented@Alex Bukach I am also unable to get images to display and links to be in a hyperlink format from facebook. Not sure if this is related or this the right place for it. I am attaching a screen sho above
Comment #17
Alex Bukach CreditAttribution: Alex Bukach at This Little Duck commented@awm I did not debug it deeply, however if you check http://codecanyon.net/item/jquery-social-stream/full_screen_preview/2103997, there's no images for facebook as well. As for links,
linkify()
function is called only for twitter, not facebook, in plugin code, so it's plugin issue as well, not module issue. Could you please contact designchemical for that issues?Comment #18
awm CreditAttribution: awm commentedSure. I will thanks.
Comment #19
Alex Bukach CreditAttribution: Alex Bukach at This Little Duck commented@awm the patch at https://www.drupal.org/node/2510866 (already committed) covers the issue you fixed in #14.