Man charged with felony for allegedly threatening to shoot police on Snapchat