任何有aol oauth api工作的人?(Anyone that had the aol oauth api working?)

编程入门 行业动态 更新时间:2024-10-25 04:13:58
任何有aol oauth api工作的人?(Anyone that had the aol oauth api working?)

我正在开发一个具有多个登录和信息导出选项的应用程序,如雅虎,谷歌联系人,实时联系人等。我试图做aol的oauth包装,后面的示例在http://dev.aol.com/api/ openauth页面,但它不起作用 。

我只是想知道是否有人乍得成功的规范,并得到了一些示例代码工作,我试图获得令牌作为响应,但是当我尝试做一个API请求时,我得到的响应: Key Used From unauthenticated site身份Key Used From unauthenticated site

它是否必须在联机服务器上运行? 我必须在我的服务器上获得一些rsa签名的文件吗?

欢迎任何提示,非常感谢!

i'm developing an application with multiple login and information export options like yahoo, google contacts, live contacts etc. I tried to do the oauth wrapper for aol, followed the examples in the http://dev.aol.com/api/openauth page but it doesnt works.

I just only wanted to know if there is anyone that chad succeeded with its specs and got some sample code working, i tried and got the token in response but when i try to do an api request i get the response : Key Used From unauthenticated site

does it have to run in a online server? do i have to get some rsa signed file on my server?

any hint is welcome, thank you very much!

最满意答案

我以前没有尝试过,但我认为你必须告诉他们你的IP将发送请求。 我正在制作关于enom API的项目,我不得不向他们发送我的IP来授权我的API请求

sorry for my late response, have being little busy here. The code in the example finally worked right last time i tried, maybe their servers had some issues or i misconfigured the example, not sure, but in my project it didnt worked, finally i managed the solution by using the CURLOPT_REFERER parameter i found in the example. I am sure that it was the issue in my code, because i was testing in a devel environment with a .loc top level domain.

Finally i want to give a hint to all the people trying to develop 3rd party apps that check the validity of the urls asking for permissions, you could use a testing environment by using the CURLOPT_REFERER paramater by setting the production url you want in the testing environment.

file in the testing environment http://www.mycoolsite.loc.

curl_setopt( CURLOPT_REFERER 'http://www.mycoolsite.com' );

The site that will receive the answer will check the referer and assume the .com one instead the .loc

Thanks to everybody that tried to help me.

更多推荐

本文发布于:2023-08-05 21:20:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1437772.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:的人   工作   oauth   aol   working

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!