Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sorry I have a stupid question(關於API KYE與登入) #35

Open
GoogleCodeExporter opened this issue Jul 9, 2015 · 1 comment
Open

Comments

@GoogleCodeExporter
Copy link


抱歉我找不到明確的資料說明,登入時所需的API 
KYE,是否可以用APP KYE取代? 
(抱歉,我還是新手,找了七八個小時,還是沒有解決,所以�
��有這樣的疑問。)
可能還有其他的問題,不過我真的找不出來了@@
抱歉所以才想請教一下各位@@

這只是單純的登入,還有抓取 未讀取過的噗浪 的資料。
Bad Request中,也一直顯示(1 missing, 0 additional)。 
順便將錯誤的內容附上:
Strict Standards: Only variables should be passed by reference in 
C:\xxx\xxx\plurk_api.php on line 553、582() 
553、582 這兩行的,行程式碼都是: $offset = (isset($offset)) ? 
$offset : array_shift(explode("+", date("c")));

Warning: Invalid argument supplied for foreach() in C:\XXX\XXX\2.php on line 13 
:
13行程式碼為: foreach( $allUnRead->plurks as $obj )

使用的版本是:1.6.4
PHP:6.0.0
Apache:2.2.8
確定有安裝了 Json、cURL

Original issue reported on code.google.com by gn01828...@gmail.com on 14 Nov 2011 at 4:41

@GoogleCodeExporter
Copy link
Author

如果我沒搞錯的話,這版本使用的是 Plurk API 1.0
而現在 Plurk API 2.0 已經改透過 oAuth 認證了
所以不會有 API Key ,取而代之的是 oAuth 認證的 APP Key、APP 
Secret 及使用者同意授權後取得的 Access Token 和 Access Secret
而 API 1.0 的 API Key 
已經停止申請了(舊的能不能繼續使用我並沒去測試)

Original comment by mywct...@gmail.com on 29 Dec 2011 at 2:11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant