Facebook Social API

o hai guyz

New member
Jan 15, 2010
917
8
0
Anyone familiar with Facebook's API, specifically the Facebook comment boxes on external sites (for example how 9gag does their comments)?

I set this up on one of my blogs, but I'd also like to set up a single comment box on the home page along with each post (to make it easy for users to leave comments from the home page without needing to visit the post page to leave a comment). So I used the regular code and then framed it so only the comment box is visible but the other comments are hidden.

For example, here's how it would look on TechCrunch. I'm trying to make it as easy as possible for the user to comment, compared to most blogs where you have to click on the post to open a new page before commenting. My question is - is this compliant with Facebook's guidelines for using their API? I couldn't find anything prohibiting it but wanted to make sure before getting shut down. Their developer forums are useless and full of people asking questions but nobody answering questions, so I figured this would be the best place to ask.


142beyr.png
 


They give you multiple ways to do it, but iframe isn't one of them (with the generator). Although I suppose you could do it.

Use the generator on that page and slap the code on the ones you want them on. It's pretty plug and play.
 
They give you multiple ways to do it, but iframe isn't one of them (with the generator). Although I suppose you could do it.

Use the generator on that page and slap the code on the ones you want them on. It's pretty plug and play.

I already have it working. I want to frame it so I can display only the "enter new comment" box w/o displaying any of the comments, and I'm trying to find out if this is compliant or not.
 
I already have it working. I want to frame it so I can display only the "enter new comment" box w/o displaying any of the comments, and I'm trying to find out if this is compliant or not.

It only shows like that I think when there are NO comments on that page. Because on the Tech Crunch pages they have it set to show 25 comments. So no, I don't think it's possible.
 
Just a hail marry, try setting the comment option to 0 comments.
 
It doesn't look like Facebook offers any standard options to do this. There are plenty of ways to make it happen (your jquery method works, so does iframing), I'm just not sure they're completely compliant with Facebook's rules for using their API (because when you show 0 comments, the user gets no notification that his comment has been added successfully and he could just sit there submitting it over and over and thus spamming his own Facebook wall when the comments auto-post to his wall).

Since this is for a large legitimate site and not just a MFA site or a landing page, I really want to make sure they don't have a problem with this before I go ahead and do it.
 
It doesn't look like Facebook offers any standard options to do this. There are plenty of ways to make it happen (your jquery method works, so does iframing), I'm just not sure they're completely compliant with Facebook's rules for using their API (because when you show 0 comments, the user gets no notification that his comment has been added successfully and he could just sit there submitting it over and over and thus spamming his own Facebook wall when the comments auto-post to his wall).

Since this is for a large legitimate site and not just a MFA site or a landing page, I really want to make sure they don't have a problem with this before I go ahead and do it.

I don't know what you're seeing but they aren't hiding their comments. I see 19 comments as of this instance here:

Surprise! Apple’s Design Expert Testifies That Most Galaxy Devices Infringe Apple Patents, Trade Dress | TechCrunch

Like I said, you see no comments, well... when there are no comments. They aren't bending any rules.

Are you logged in to Facebook? That could be another reason you see what you see.
 
I don't know what you're seeing but they aren't hiding their comments. I see 19 comments as of this instance here:

Surprise! Apple’s Design Expert Testifies That Most Galaxy Devices Infringe Apple Patents, Trade Dress | TechCrunch

Like I said, you see no comments, well... when there are no comments. They aren't bending any rules.

Are you logged in to Facebook? That could be another reason you see what you see.

No, no ... let me try to explain this better:

- By default, when you slap the comment API up it shows say 10 comments. You can adjust this to show 8 comments, 12 comments, whatever. TechCrunch has theirs set to, let's say, 20.

- I also have my site set up to display 20. However, I WANT to change MY site to display 0 comments, so only the "enter your comment here" box is visible. The reason for this is it fits much better into the layout. The TechCrunch image I posted in the OP is a Photoshopped image of how I WANT my site to look (I just looked TechCrunch because most people are familiar with it). Also, I'm putting the "enter your comment" box on the home page of a blog with every post, so users can comment on specific posts without needing to click on that post to bring up the comments - this makes it MUCH easier for users to leave comments quickly, making the site more engaging and ensuring that they come back.

- I tried a few methods of doing this. Setting the number of comments displayed to 0 doesn't work. Therefore I decided to simply keep the default settings but put the entire comments section in an iframe, so I could make it only display the "enter your comment here" box. This worked successfully and it looks exactly how I want it to look.

- Now, the big question I'm trying to figure out, is "is this compliant with Facebook's API guidelines?" I've pushed mobile offers for 5 years so any time something involves frames I always make sure it's compliant, because with mobile that's a good way to get banned from every offer instantly. Obviously it's not the same thing, but using the same logic they use, framing the comments could potentially be seen as "attempting to mislead the user" because you're altering the way the Facebook comments appear, and I'm not sure if they would approve of this.
 
Oh my bad, I didn't understand that you shopped the tech crunch images. As for if it falls in to their guidelines, who gives a shit?
 
Oh my bad, I didn't understand that you shopped the tech crunch images. As for if it falls in to their guidelines, who gives a shit?

Because if if it breaks their guidelines and they find out, they'll block you from using their API on that site.