Write SQL query to solve given problem: Among legislators who have an Instagram account, list down their full names and nicknames who have a Thomas ID of less than 1000.. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT T1.official_full_name, T1.nickname_name FROM current AS T1 INNER JOIN `social-media` AS T2 ON T2.bioguide = T1.bioguide_id WHERE T2.instagram IS NOT NULL AND T1.thomas_id < 1000