Visa holders being denied entry over someone else's messages on the phone
I am Indian and have some Pakistani and Middle Eastern friends on Facebook (people I know from grad school and previous jobs). Sometimes they post stuff on their walls that let's say typically would not sit well with the current administration and their ideologies. I don't comment on or like those posts and just ignore them.
In order to not get into trouble ('guilt by association' - read Tech Crunch article in below link) the next time I try to enter the country and the immigration officer at the airport goes through my phone, which of the following would you suggest someone in my position do?