2010-11-19 3 views
0

issuu에서 내 문서를 나열하려면 issuu.documents.list를 사용하고 싶습니다. 제대로 작동합니다. 그러나 startIndex와 pageSize 매개 변수를 두 개 더 추가하면 작동하지 않습니다. , documentIdIssuu, issuu.documents.list 요청을 올바르게 작성하는 방법?

내 요청 URL

[apiSecret] accessprivateactionissuu.documents.listapiKey [apiKey에] startIndex0pageSize20formatxmlresponseParamstitle :

에 http : // API를 여기에 내 서명 요청입니다. issu.com/1_0?action=issuu.documents.list & apiKey = [apiKey] & 액세스 = 개인 & startIndex = 0 & pageSize = 20 & 형식 = XML & responseParams = 타이틀 % 2CdocumentId & 서명 = [서명]

그래서, 당신은 시작 인덱스 PAGESIZE의 매개 변수 내 구문에 문제가 있는지 저를 표시 할 수 있습니다? 많은 감사합니다.

+1

받고있는 오류 메시지를 제공 할 수 있습니까? "효과가 없다"는 것은 많은 다른 것들을 의미 할 수 있습니다. – NotMe

답변

1

issuu api에 대한 모든 요청에 ​​서명해야합니다 (알고있는 것처럼). 서명의 md5 해시를 만들기 전에 먼저 모든 키를 사전 순으로 정렬해야합니다.

정말 뒤에 가야 할 때 [apiSecret]accessprivateactionissuu.documents.listapiKey[apiKey]pageSize20formatxmlresponseParamstitle,documentIdstartIndex0

그래서 귀하의 예제에서, 당신은 시작 인덱스는 responseParams 전에 배치 한

[apiSecret]accessprivateactionissuu.documents.listapiKey[apiKey]startIndex0pageSize20formatxmlresponseParamstitle,documentId

올바른 잘못.

서명에서 키를 알파벳 순으로 정렬하는 것은 여기에 설명 된 Issuu의 API에 대한 요구 사항입니다. http://issuu.com/services/api/signingrequests.html

관련 문제