Our site has a Facebook page which I have set up to auto post updates from RSS feeds from the forum. It's not a great solution. What I'd really like to do is come up with a way to auto post the most popular thread of the day (based on views, replies, likes, etc - and accessible by guests) to the FB page. I would like to display a thumbnail of the attachment if there is one in the first post of the thread, or the thread author's avatar as a fallback. In order to prevent duplicate updates on FB for the same thread several days in a row I'd like there to be a check in place so that the same thread isn't auto posted more than once every 7 days - in this event, the next most popular thread would be posted instead, and so on and so forth.
Looking for quotes on a custom plugin that can achieve this.