Prime Minister Narendra Modi answered questions from a gathering of audience at Townhall, at the Facebook headquarters at Menlo Park, California.
"A morning that befits our virtual future. PM @narendramodi arrives at @facebook received by CEO Mark Zuckerberg," tweeted external affairs ministry spokesperson Vikas Swarup.
Facebook chief Mark Zuckerberg announced Modi's visit on his Facebook page earlier this month and invited users to post questions.
More than 37,000 comments were made in reply, with questions ranging from those about internet expansion in India, unemployment rates and calls for Modi to address his human rights record.
Highlights From the Discussion With Modi: