Did president Obama go to Kenya after becoming president?

No, he did not. He visited Kenya for the first time in the late 1980s, and wrote about it in his book "Dreams from my Father." There has been talk on several occasions that he would visit Kenya during his presidency, but thus far, he has visited Ghana (2009) but has not made an official visit to Kenya.