Decodingurl problem in twitter


#1

I am posting ‘/statuses/update_with_media.json’ and ‘/statuses/update.json’. Diffrent result at twitter…
Please help me…

Example : https://pbs.twimg.com/media/BPv9MaHCQAIKQNQ.png:large


#2

It looks like you’re over-encoding your status body in one example but not the other. Perhaps the library you’re using does some different stuff in one context versus the other.


#3

My library … require_once(‘EpiCurl.php’);
require_once(‘EpiOAuth.php’);
require_once(‘EpiTwitter.php’);

and other posts https://pbs.twimg.com/media/BPymr71CIAETd7u.png:large

In my opinion ‘/statuses/update_with_media.json’ have api issue ?!


#4

OAuth is very different with statuses/update_with_media – multipart POST is different. It’s likely that the differences between the two approaches aren’t handled correctly by the library.

I don’t really recommend using the EpiTwitter and EpiOAuth libraries – I tend to see many issues arise from that library’s way of handling OAuth and character encoding.


#5

I solved problem with abraham’s libraries… Thank you for help (:


#6

This - “differences between the two approaches aren’t handled correctly by the library.”