Today I posted my update to ctshryock/MGTwitterEngine which allows you to use the API’s
and 1
update_profile_image
. I added to the demo app a window that lets you select an image for either profile image or background image to see it in action.1
update_profile_background_image
I had to modify some of the internals to get this to work… originally the
method built the 1
_sendRequestWithMethod:path:queryParameters:body:requestType:responseType:
object internally, but to minimize code duplication I split the initial creation of the request into a new method 1
NSMutableRequest
to do that, and added a new method 1
_baseRequestWithMethod:path:queryParameters:
. Both 1
_sendDataRequestWithMethod:path:queryParameters:filePath:body:requestType:responseType:
and 1
_sendRequest...
call 1
_sendDataRequest...
to start, with the latter adding the needed form/multipart data to the request.1
_baseRequest...