Is it possible to 'configure fb:comments social plugin' to show only comments not allowing new ones? I would like to block old posts on my site to get new comments and I want only show the comments realised in the past.
No, there's only the following options:
href - the URL for this Comments plugin. News feed stories on Facebook will link to this URL.
width - the width of the plugin in pixels. Minimum recommended width: 400px.
colorscheme - the color scheme for the plugin. Options: 'light', 'dark'
num_posts - the number of comments to show by default. Default: 10. Minimum: 1
mobile - whether to show the mobile-optimized version. Default: false.
But you should be able to write a quick plugin of your own that queries those existing comments and display them.
But I think that would be a nice option to have on the current plugin. Maybe you should file it with Facebook as an enhancement request.
Related
I have an app with blog records per each user. I have add share button to my app, to give ability to post interesting blog records to users time line or to send to other user. But in default it takes image and text for share as it wants and not always correctly. So I find out that it can be dirven by meta tags (using for example "image" property to set image for share dialog). That's work ok on main page (where I'd like to make ability share with whole application), but on pages of blog records I cann`t customize it. meta tag should be in , but all info (short text and image of blog post) I get later in body, so I can insert it. How can I manage with this? Or may be there is another way to share content with?
What blog engine are you using? If it is a wordpress - try this plugin http://wordpress.org/extend/plugins/facebook-share-new/ from offician facebook docs http://developers.facebook.com/docs/. Otherwise I'd suggest to find a facebook plugin for your blog engine using google and install it.
I want to use the sharer.php popup to open the share dialog, but would like to customize it so that the share option is by default not to my profile, but to a page - and ideally also select the page (by id?).
i've looked everywhere but the only documented parameters are ?url= and ?title=, although it seems that there is less known "hidden" way to also define summary and image: ?p[image]= ...
im hoping there is something similar to define the share options?
or perhaps another share screen that i can use to post directly to my page?
tnx!
Avoid usage of Sharer in favor of Feed Dialog.
Feed Dialog may be used to specify where the content is published (to) and who publishing it user or page (from).
You can use Feed Dialog directly or with JaveScript SDK, read the documentation for more details.
I am using Facebook Comments plugin in my website:
http://developers.facebook.com/docs/reference/plugins/comments/
by add this to my web :
<div class="fb-comments" data-href="http://example.com" data-num-posts="2" data-width="470"></div>
And i want to use it also in my android app, Can i use Facebook API or something else that i can make a comment on a URL without using the Comment plug-in.
Its impossible but comment plugin will show mobile version automatically for mobile devices
The mobile version will automatically show up when a mobile device
user agent is detected. You can turn this behavior off by setting the
mobile parameter to false. Please note: the mobile version ignores the
width parameter, and instead has a fluid width of 100% in order to
resize well in portrait/landscape switching situations. You may need
to adjust your CSS for your mobile site to take advantage of this
behavior. If preferred, you can still control the width via a
container element.
You can use the Graph API with stream_publish permission from the user in order to publish comments on their behalf. You can read the following docs to see how that works:
https://developers.facebook.com/docs/reference/api/post/#comments
I created an app and installed it on a page. In this app, I installed the comments plugin specifying the data-href parameters as follows:
http://www.facebook.com/{my_page_username}?sk=app_{my_app_id}
It seems that facebook enabled the grammar filter by default and is erroneously expanding some words.
How can I disable the grammar filter?
There's a setting in the 'settings' section of the plugin. The real question is how to get to that section.
The only way I know of, is when actually posting a comment (so, you're at a comment box at the end of your article now), and you're a moderator, in the upper-right cornet you have a 'settings' link.
http://www.ivanlistes.com/facebook-social-plugins-comments-problem-with-grammar-filter/
There are instructions on how to scrub the Like button from the Comments plugin for the XFBML version, but not the iFrame one. The Like button bundled with the Comments plugin is redundant since we already have a share bar.
Anyone know how?
The first version of the Facebook comments plugin would allow you to specify a custom css style sheet where you could remove this. The newest second version of this plugin does not allow for this so you won't be able to modify, aside from shrinking the iframe that holds the comment box.