In Kenya, same-sex sexual acts are still a punishable crime, with those found guilty facing up to 14 years jail time.
There have also been anti-gay rallies in anticipation of Obama's arrival.
However some Twitter users have been criticizing those using the hashtag to spread anti-gay sentiment.
Some Twitter users are taking Obama's visit less seriously. This tweeter joked about improved transport infrastructure thanks to the upcoming visit.
Other young men have been encouraging the president to bring his daughter along on the visit.
The US leader's trip to his father's native land will coincide with the 2015 Global Entrepreneurship Summit, a meeting for companies, governments, and business leaders.