How to check Instagram username availability
问题 how to check if the username is available or not in Instagram, i tried using Get request and catch 404 error, it dose not work sometimes, is there another way ? a reliable one? i tried using object pascal try lHTTP.Get('http://instagram.com/'+lPath, TStream(nil)); except on E: EIdHTTPProtocolException do begin if E.ErrorCode = 404 then begin TThread.Synchronize(nil, procedure begin Form1.Memo2.Lines.Add(lPath); Label2.Text:= IntTosTr(Memo2.Lines.Count); end ); end; Exit; end; end; but