2013-04-24 173 views
1

我有兩個Debian系統。我通過Perl(Facebook :: Graph)訪問Facebook-API。 在第一個系統上,它完美地工作,在另一個系統上遇到以下問題。在/usr/local/share/perl/5.10.1/Facebook/Graph/Response.pm線40GraphMethodException - 不受支持的獲取請求

響應不支持GET請求 - GraphMethodException:

無法執行請求(https://graph.facebook.com)。下午:

[...] 
has response => (
    is  => 'rw', 
    isa  => 'HTTP::Response', 
    required=> 1, 
); 
[...] 
ouch $response->code, 'Could not execute request ('.$response->request->uri->as_string.'): '.$message, $response->request->uri->as_string; 
[...] 

我知道它與我的ssl-libs有關,但我不知道問題出在哪裏。我重新安裝了多次IO:Socket:SSL和SSLeay。

每個幫助是值得歡迎的, 恩佐

+0

你試圖訪問什麼,你是否使用有效的訪問令牌來訪問這兩個地方的信息? – Igy 2013-04-24 18:42:52

+0

檢查這個 http://stackoverflow.com/questions/18644513/user-opted-out-of-platform-can-post-and-is-viewable-but-not-via-the-graph-api – 2013-09-05 19:38:41

回答

0

不知道這是否會有所幫助,但在這裏,來到試圖訪問該頁面時,尋找與「graphMethodException的幫助:http://graph.facebook.com/doodleembroidery(現在正常工作)。

剛剛追蹤到頁面的國家權限。她沒有意識到她在創建頁面時已經設置了限制,現在她刪除了它們,鏈接正常工作!

相關問題