Photo-sharing services founder claims microblogging site threatened to cut off access to API if the startup did not abandon its trademark.