2017-05-18 3 views
0

yammer API를 사용하여이 달의 yammer 메시지를 추출합니다.최근 결과의 여러 페이지를 가져 오는 Yammer API

정확하게 동일한 요청은 때때로 메시지를 반환하고 때로는 그렇지 않습니다. 두 경우 모두 응답 코드는 200 OK이므로 documented to 429 인 속도 제한기를 누르지 마십시오.

어떻게 문제 해결을 계속할 수 있습니까?

https://www.yammer.com/api/v1/messages.json?older_than=12345 

응답 상태 : HTTP/1.1 200 OK [code: 200]
응답 본체 : (요청 메시지를 반환하지 않습니다 시간)

{ 
    "threaded_extended": {}, 
    "messages": [], 
    "references": [], 
    "external_references": [], 
    "meta": { 
    "older_available": false, 
    "requested_poll_interval": 60, 
    "realtime": { 
     "uri": "https://1-148945-4310388-731.rt.yammer.com/cometd/", 
     "authentication_token": "...", 
     "channel_id": "..." 
    }, 
    "last_seen_message_id": null, 
    "current_user_id": 123456, 
    "followed_references": [], 
    "ymodules": [], 
    "newest_message_details": null, 
    "feed_name": "Company Feed", 
    "feed_desc": "Company public messages", 
    "direct_from_body": false 
    } 
} 

답변

0

해결 방법은 0 메시지 결과 요청을 다시 시도하고있다. 나는 이것이 API의 결함이거나 의도하지 않은 방식으로 API를 사용하고 있다고 생각합니다.

관련 문제