标签: php twitter
我正在使用this php library发布推文。如何发布链接,以便它显示为正确的链接?
当我使用urlencode时,我得到的结果是http%3A%2F%2Flocalhost%2Fnew_poedu%2Fdefault%2Fride%2Fview%2F18。如果我不使用它,结果是http://localhost/new_poedu/default/ride/view/13,只是简单的文字没有链接。
http://localhost/new_poedu/default/ride/view/13