我正在使用以下 URL 来获取所有通过 Topsy API提及波斯语/阿拉伯语单词“سلام”的推文:
http://otter.topsy.com/search.json?q =سلام&page=1&perpage=100&mintime=1244160000&maxtime=1244163600&apikey=FAF7F2D0D8A143978CB7762CE35FCF99
但是,我得到的结果如下:
{"request":{"parameters":{"page":"1","q":"سلام","maxtime":"1244163600","perpage":"100","mintime":"1244160000"},"response_type":"json","resource":"search","url":"http://otter.topsy.com/search.json?maxtime=1244163600&mintime=1244160000&page=1&perpage=100&q=%D8%B3%D9%84%D8%A7%D9%85"},"response":{"window":"custom","page":1,"total":0,"perpage":100,"last_offset":0,"hidden":0,"list":[],"offset":0}}
API 将外来词“سلام”读取为:%D8%B3%D9%84%D8%A7%D9%85,因此不会产生任何结果。任何关于做什么的建议将不胜感激!
谢谢 :)