Skip to content
Snippets Groups Projects
Commit c0cbf705 authored by Mike Pearce's avatar Mike Pearce
Browse files

Updated WP_Codebird::_callApi() to support _buildMultipart()

This fixes issue #6. Added support for _buildMultipart() which posts images to twitter correctly. Until we update Codebird on wpcom, this will allow posting of images. Essentially, it just looks to see if it's a multipart posting and, if so, builds the multipart post body (with the content-disposition tags and boundaries). It also set's the headers correctly.
parent d14994d2
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment