twitter api 1.1搜索

twitter api 1.1搜索,twitter,coldfusion,coldfusion-9,cfhttp,Twitter,Coldfusion,Coldfusion 9,Cfhttp,我正在使用Coldfusion 9和Twitter4J授权进行twitter授权。我已经通过身份验证,正在运行一个非常简单的coldfusion脚本,尝试从twitter搜索中获取结果。我使用的代码是: <cfhttp url="https://api.twitter.com/1.1/search/tweets.json?q=%23freebandnames&since_id=24012619984051000&max_id=250126199840518145&r

我正在使用Coldfusion 9和Twitter4J授权进行twitter授权。我已经通过身份验证,正在运行一个非常简单的coldfusion脚本,尝试从twitter搜索中获取结果。我使用的代码是:

<cfhttp url="https://api.twitter.com/1.1/search/tweets.json?q=%23freebandnames&since_id=24012619984051000&max_id=250126199840518145&result_type=mixed&count=4" result="result">

<cfdump var="#result#"><cfabort>


我收到的错误是:400个错误请求。我想这是一个证书问题。您可以使用
--unsecure
选项绕过任何证书问题。或者进入ColdFusion证书存储

你的防火墙阻止你了吗?我可以在域名上访问twitter,没有任何问题。我也可以在我的手机上通过twitter登录,我也会遇到同样的错误。如果你正确地编码你的查询字符串参数,会发生什么呢。。我担心我可能有编码问题,所以我特别使用了此处详述的twitter api示例URL,我还尝试了
”https://api.twitter.com/1.1/search/tweets.json?q=%23freebandnames“
并得到相同的错误。