I was asked to look into what the options are for building some kind of customer service chat bot for Facebook pages.  Basically, the idea would be to take incoming requests directed in chat at a page or account, and fan them out to customer service reps that are active on some other IM platform.<p>1.)  It looks like the XMPP integration that Facebook used to have is dead and buried at this point (https:&#x2F;&#x2F;developers.facebook.com&#x2F;docs&#x2F;chat)<p>2.) I found this NodeJS package (https:&#x2F;&#x2F;github.com&#x2F;Schmavery&#x2F;facebook-chat-api), which looks like it runs a headless browser to sign into Facebook and spoof Facebook into thinking that you are hitting them via their internal AJAX endpoints.  This feels very fragile, but apparently it does work.<p>3.)  I&#x27;ve seen some announcements that there is some sort of Messenger SDK which looks like it is currently rolled out to some select partners only right now.  http:&#x2F;&#x2F;techcrunch.com&#x2F;2016&#x2F;01&#x2F;05&#x2F;facebook-messenger-bots&#x2F;.  I haven&#x27;t seen any indications of when this would be generally available, or exactly what would be possible using it.<p>At the present moment, #2 seems like it is the only viable possibility, barring widespread availability of #3.  Although that seems very much an ad-hoc, duct-tape and baling wire type of solution, in no way officially supported, and totally dependent on Facebook not making changes to their internal APIs...<p>Any better ideas?
Ask HN: Facebook Messenger SDK availability?