How to check allowed characters after image upload while tweet from mobile API App?

android
oauth
rest
api-access
image

#1

I’m working on mobile API and I’m facing issue to validate charater while uploading an image from media.
Can anyone please let me know how to validate charaters?
Any lead / reference is also fine.


#2

What exactly do you mean by “validate characters”?