Most of the code for publishing events to the user's facebook stream was there in fbconnect.module through revision 1.32.2.1 but was removed in the commit for 1.32.2.2 (the version that is in the 6.x-2.x-alpha1 release).
Getting it actually post comments, nodes, and new site memberships to the Facebook stream only involved adding one function call to the FB Javascript library. Not sure if there's an interest in bringing this back or if the plan is to handle publishing to the stream in an entirely different way.
Anyway, again, this patch was taken against 1.32.2.1 module, where $_SESSION['fbconnect_feed'] was still being used to store events that needed to be posted to Facebook via Javascript on the next page load, but the actual Javascript call to the FB API was missing.
| Comment | File | Size | Author |
|---|---|---|---|
| fbconnect.module.diff | 2.62 KB | ankur |
Comments
Comment #1
vectoroc commentedfixed http://github.com/vectoroc/fbconnect/commit/b3b10e45cf542495170848d9ea24...
Comment #2
xpla commentedHi,
i have the latest version you've linked though i set "publish to facebook" i can't see a new post on my Facebook Profile. Don't know what to do?
EDIT: It must have something to do with my theme. If i set the standard "Garland" Theme i get the popup where i get asked to publsih this to my profile ... Anyone an idea what to add? Thank you!
Comment #3
ankur commentedTo xpla in #2, if the pop-up is showing in Garland, but not your custom theme, I'd firebug it and look for Javascript errors. Another thing to do would be to make sure that the facebook_stream_publish.js file gets loaded and that the javascript added by the fbconnect_stream_publish_footer() function in fbconnect_stream_publish.module shows up in the footer of the page on which the pop-up should be showing.
Comment #4
xpla commented@ankur
Now it works ...
Comment #5
secunoid commentedHi,
How do I add the code you povided to my fb module?
Thank you,
S
Comment #6
ankur commented@secunoid in #5, you won't need to add any code to the module. The latest development version works. You'll need to enable the fbconnect_stream_publish module, which depends on the main fbconnect module and is included in the tarball.
Closing this because this is not an issue any more.