revetkn/restfb — pull request #104 by UglyTroLL (2014-01-25 07:23:46+00:00)
Title: Add contentType to BinaryAttachment which will be used to send along wit...

...h POST requests if it's not null.

The issue was that if there is no content type specified in POST body, then Facebook cannot recogonize it. Esp when you send a picture in private message, the picture will be showed as a file in attachment instead of rendering in the conversation directly.