A paedophile who targeted a vulnerable girl on Snapchat before demanding explicit images of her has been locked up.