There is no practical way to do this. How can you assume any foreigner to have a facebook/twitter account? If they say they don't have any, how can you prove they are lying?
The only way is probably to check your phone or laptop, then there is easy way to bypass this.