C#에서 Facebook Chat으로 애플리케이션을 통합하려고합니다. Facebook은 X-FACEBOOK-PLATFORM SASL 메커니즘의 사용을 권장합니다. 문서는 다음과 같은 매개 변수를 필요로하는 X-페이스 북 플랫폼을 설명 : this other Stackoverflow Question에서C# XMPP X-FACEBOOK-PLATFORM SASL 구현
string method // Should be the same as the method specified by the server.
string api_key // The application key associated with the calling application.
string session_key // The session key of the logged in user.
float call_id // The request's sequence number.
string sig // An MD5 hash of the current request and your secret key.
string v // This must be set to 1.0 to use this version of the API.
string format // Optional - Ignored.
string cnonce // Optional - Client-selected nonce. Ignored.
string nonce // Should be the same as the nonce specified by the server.
나는 SESSION_KEY와 SIG의 값이 어디에서 오는지 이해할 수 있었다, 그러나 나는의 경우 값을 찾는 힘든 시간을 보내고 있어요 call_id가 정의됩니다. 버전과 appSecret을 분리 아무것도 할
string sig = "api_key=" + apiKey
+ "call_id=" + callId
+ "method=" + method
+ "nonce=" + nonce
+ "session_key=" + sessionKey
+ "v=" + version
+ appSecret;
이 가정 해 봅시다된다 또한 위에서 언급 한 링크, 대답은 존재와 sig
값을 가지고? Facebook 문서는 appSecret을 포함하는 것에 대해 아무 것도 말하지 않고 추가해야합니까? 당신이 링크 된 게시물에 어떤 도움 :)