Question: can halflings use longbows 5e?
Answer: Going by the PHB, the only ranged weapons a halfling ranger can't use are longbows and crossbows. Every other ranged weapon in the book is either a one-handed thrown weapon or has the Small keyword.