I'm assuming your link should have an & instead of a second ? .

Bad
http://maps.google.com/maps?f=q?q=100.00000,50.00000%20%28SPOT%20NAME%29";

Good
http://maps.google.com/maps?f=q&q=100.00000,50.00000%20%28SPOT%20NAME%29";

On Jul 21, 2:53 pm, Travis Williams <[email protected]> wrote:
> I could really use some probably simple help on posting a Google Map
> link to Twitter, which comes from an app of mine through the API.
> Basically I'd want to post the entire link like this to twitter from
> my app:
>
> Here is the data I send twitter in the API:
>
> "is sharing the location for 
> NAME.http://maps.google.com/maps?f=q?q=100.00000,50.00000%20%28SPOT%20NAME%29";
>
> and twitter only posts:
>
> MYACCOUNT is sharing the location for SPOT NAME.http://maps.google.com/maps...
>
> "http://maps.google.com/maps..."; shows as a hyperlink, but the rest is
> truncated/missing.  And the link takes you to "http://maps.google.com/
> maps?f=q" and then stops.
>
> Are there more characters I should replace in the data before I send
> it to Twitter?  To replace the ?  or the in what I sent twitter and
> forward?  I tried %25 instead of a ?, etc.
>
> Please help.  Still picking up these HTML tricks!

Reply via email to