Closed (fixed)
Project:
jQuery social stream
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
2 May 2015 at 19:39 UTC
Updated:
1 Aug 2015 at 12:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
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 commentedComment #3
awm commentedDid anyone get this to work? Is there a workaround?
Comment #4
alex.bukach 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 commentedPlease update to 7.x-2.x-dev to have facebook support. Please test it on dev site first.
Comment #6
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 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 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 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 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 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 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 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 commentedI will try to contact them. In the meantime I am attaching the patch that worked for me.
Comment #15
awm commentedComment #16
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 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 commentedSure. I will thanks.
Comment #19
alex.bukach commented@awm the patch at https://www.drupal.org/node/2510866 (already committed) covers the issue you fixed in #14.