I'm using the Facebook-style statuses + micropublisher combo on a site that's behind a proxy. We also run video's through Emvideo through that same proxy. We hacked that module (yeah, yeah, I know...) to include cURL support to pass the proxy.

What we're trying to do, is using the Emvideo implementation of the Link plugin for the micropublisher. It kept showing the Youtube links as regular links and I've found out that it goes wrong in fbsmp_link_request_contents() (in link.inc), when it hits the if ($result->code != 200) line.

Checking a bit further turns out that Micropublisher uses its own HTTP request implementation (fbsmp_http_request()).

Now I'm wondering if either:

  1. fbsmp_http_request() supports proxies and I'm doing something else wrong that ends up turning bad at that point
  2. you guys provided a different way to use the Emvideo implementation for people behind proxies
  3. I'll have to hack fbsmp_http_request() to use cUrl to get through our proxy (and here's hoping I don't have to do that...)