Нужно получить токен, отправляю пост запрос, но получаю ответ 400
вот код
idhttp1.Request.Host:='api.twitter.com';
idhttp1.Request.Connection:='keep-alive';
idhttp1.Request.Accept:='*/*';
idhttp1.Request.AcceptLanguage:='ru-RU,ru;q=0.8,en-US;q=0.6,en;q=0.4';
idhttp1.Request.AcceptCharSet:='windows-1251,utf-8;q=0.7,*;q=0.3';
idhttp1.Request.AcceptEncoding:='gzip,deflate';
idhttp1.Request.UserAgent:='TwitterAndroidSDK/1.5.0.$78 Lenovo A536/4.4.2 (LENOVO;Lenovo A536;Lenovo;A536)';
PostData:=TStringList.Create;
PostData.Clear;
PostData.Add('oauth_callback=\"twittersdk%3A%2F%2Fcallback%3Fversion%3D1.5.0.78%26app%3D9I4iINIyd0R01qEPEwT9IC6RE\"');
PostData.Add('oauth_consumer_key=\"9I4iINIyd0R01qEPEwT9IC6RE\"');
PostData.Add('oauth_nonce=\"'+md5(IntToStr(random(1000)))+'\"');
PostData.Add('oauth_signature=\"2Lx4d9PrxU8G%2BKPu6xwXqCI5mP0%3D\"');
PostData.Add('oauth_signature_method=\"HMAC-SHA1\"');
PostData.Add('oauth_timestamp=\"'+inttostr(DateTimeToUnix(Now))+'\"');
PostData.Add('oauth_version=\"1.0\"');
idhttp1.Request.ContentLength:=0;
IdHTTP1.Post('https://api.twitter.com/oauth/request_token',PostData);