I use Twitter-OAuth-iPhone to POST tweets by [_engine sendUpdate:myText];
, which works fine. However, the letter &
in the 'myText' will be changed to &
in the tweet shown on Twitter.com. The &
is for coordinates link: @"http://maps.google.co.uk/maps?f=q&source=s_q&hl=en&geocode=&q=%f,+%f"
.
I tried to replace the &
with %%26
in the 'myText', which turns out with %26
in the tweet instead of &
; and when I replace with %26
, the app crash.
What code should I use to get &
(not &
) in the tweet?