我真的需要你的帮助。
我正在尝试用php从twitter获取请求令牌,而不是使用cURL。
我的第一次尝试是使用fsockopen。
$fp = fsockopen("ssl://api.twitter.com", 443) or die ("unable to open socket");
然后,我创建了HTTP POST头文件,如下所示。
$auth = "oauth_callback="http%3A%2F%2Fmydomain.org%2F~myID%2Ftwt-oauth%2Fcallback.php", oauth_consu
我正在尝试在我的项目中使用‘导入xml’,这样我就可以访问在线文件(一些Text.XML.HXT.Curl文件)。
所以我得到的错误是:
Could not find module `Text.XML.HXT.Curl':
Use -v to see a list of the files searched for.
我试过了:
:! cabal install curl
但我得到了一个错误,它一定是在unix或cygwin上,所以我继续安装cygwin,现在它显示:
checking for gcc... gcc
checking for C compiler defaul