Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
themes-topic
Add Facebook comments to forum
Avatar
FidoSysop
Clearwater Florida
Member

VIP
sp_UserOfflineSmall Offline
Jul 8, 2016 - 10:32 pm

Where would I add Facebook comments code to reboot theme? Want to also allow Facebook members to comment on forum posts. Was using a plugin and adding a shortcode to each post. It would be better if it's auto inserted into new posts. 

  • Doc ~ An old Fidonet SysOp. Just hanging out in cyberspace keeping up with tech.
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jul 9, 2016 - 12:06 am

sorry, what do you want to do?  you want to pull comments from facebook and post in a forum??

if so, afraid there is no built in way to do that... though the api exists... if you already know how to get facebook comments (ie your shortcode), you could write a fairly simple plugin to programmatically create a new post for it...  but not sure how you would poll facebook for new comments..  certainly there is a way as other wp plugins do it... but not something we have researched as we dont get many requests for it...

as to facebook users to comment depends on your permissions... if as guest and you allow guest posting, you can easily do it...  if you want them logged into facebook and then be logged into the forum (really your wp site), then you need one of the many login/registration plugins for wp that allow users to log into a wp site with their facebook credentials...

Avatar
FidoSysop
Clearwater Florida
Member

VIP
sp_UserOfflineSmall Offline
Jul 9, 2016 - 7:54 am

Hi Steve, thanks for your reply.

Actually i was trying to eliminate the plugin overhead by inserting the FB SDK into my theme. But regardless how it's done those external scripts slow a site down. It's probably easiest to use a Facebook comments plugin and add a shortcode under a post, like this one.

https://www.docsplace.org/foru.....y-at-risk/

  • Doc ~ An old Fidonet SysOp. Just hanging out in cyberspace keeping up with tech.
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jul 9, 2016 - 1:57 pm

what does the SDK do?  how is it invoked?  is it javascript that gets loaded?  if so you could hook into our script loading in the spFunctions.php file and add in the js to get loaded...

so if you can show us how the SDK is loaded otherwise, we can help getting the forum to load it via our api...

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625