Comments Facebook plugin - how to sort comments?
Facebook didn't allow external sorts / order tags or command but im solved simple steps :) http://connect.facebook.net/sk_SK/all.js
editing and running files on your local server
Steps
- search / search
colorscheme:this.getAttribute('colorscheme')
in all.js` - change this line
order_by:'reverse_time'
-
save it!
- If you want a different default order to allow these options
reverse_time
time
social
- and don't forget to change the facebook js url on the comments page.
- If you want a different default order to allow these options
<div id="fb-cont"><script src="http://yourwesite.com/all.js"></script>
source to share
Or you can use this direct link
https://www.facebook.com/plugins/comments.php?api_key=APP_ID&channel_url=https%3A%2F%2Fs-static.ak.fbcdn.net%2Fconnect%2Fxd_proxy.php%3Fversion%3D3%23cb%ab113Df5 26origin% 3Dhttp% 253A% 252F% 252F WWW.YOURSITE.COM % 252Ff846e27164d9b3% 26% 3Dparent.parent ratio% 26transport% 3Dpostmessage & href = HTTP% 3A% 2F% 2FWWWW.YOURSITE_trfCOM% 2FS = 25 & SDK = Joey & width = 470 & view_as_moderator = 1 & controller_id = feedback_1qpSRehzyIefEfw0h & owns_pages = 1 & command = page & limit = 50 & offset = 0 & order_by = reverse_time
Pay attention to WWW.YOURSITE.COM and SUBDIRECTORY between & href = ......... &
This forum gave me a lot of ideas and work around, so now I have a chance to pay a little.
Hope it helps.
source to share