native facebook intergration

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
1/9/2011 11:06:09 AM
Gravatar
Total Posts 26

native facebook intergration

I would like to see native intergration of facebook on mojoportal like it is with twiter i know you can add it manual but it don't always work correctly. also may make it easier for novices see the picture www.inspiredpc.com/capture.png

 

 

1/11/2011 1:56:10 PM
Gravatar
Total Posts 18439

Re: native facebook intergration

I would do that except that the steps to configure it would be more complicated than the steps to just copy the html from Facebook into an Html content instance.

http://www.mojoportal.com/adding-a-facebook-profile-widget-to-your-site.aspx

Therefore if we built a widget it will be less user friendly than just adding it the normal way because then the instructions would require copying fragments from the Facebook generated html into settings and this would be more steps involved.

With Twitter the internal feature is easier than the manual way to do it so it was worth doing.

Best,

Joe

1/13/2011 1:36:34 PM
Gravatar
Total Posts 67

Re: native facebook intergration

Hi Joe, are you talking about the widget alone, or is there a possibility of adding facebook connect for authentication? It would also be awesome to add the facebook comments to the blog module. http://developers.facebook.com/docs/reference/plugins/comments in which case I think that you would just have to pass in the url of the blog entry, and I would think an API key, though I don't see the field for it...

6/7/2012 12:59:44 PM
Gravatar
Total Posts 24

Re: native facebook intergration

I am trying to add Facebook comments to a page.  

Facebook gives you the html that they say to add into your body tag

<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

And then this code wherever you want the comments to go:

<div class="fb-comments" data-href="http://www.mysite.com" data-num-posts="50" data-width="470"></div>

 

Can you add the FB code to the Master.Layout?  If not can you reference it in a separate js file?  What is the best way to implement this?

Thanks

 

 

6/7/2012 3:35:23 PM
Gravatar
Total Posts 18439

Re: native facebook intergration

Hi,

Currently we have support for Disqus and IntenseDebate external comment systems. I've had a to do item in our project tracker for quite a while to add support for Facebook comments but have not got to it yet. I don't think it will be difficult for me to implement so I've moved into the priority list and hopefully will get to it for the next release.

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.