Why is my string containing a URL breaking my script?

aink

New Member
Using twitterauth to try to post status updates. This is my code (which returns a 403 error from twitter when I try to post it):\[code\]$fact = "This is a status update. http://onth.is/iss" ;$parameters = array('status' => $fact);\[/code\]However, if I do this:\[code\]$parameters = array('status' => "This is a status update. http://onth.is/iss");\[/code\]It post perfectly fine. I know it has something to do wit the URL, because if I remove it from the first code it works.Any tips? Thanks in advance!
 
Back
Top