Sikandar Khan, a resident of Sector 49 in Chandigarh, was caught while "moving under suspicious circumstances" near Lakho Ke Behram border in Ferozepur district, police said.
"A patrolling team of Border Security Force (BSF) caught Sikandar Khan who wanted to go to Pakistan to meet a woman whom he loved," said Ferozepur DSP Balwinder Singh.
DSP said Sikandar came into contact with the woman on the social networking site over two years ago and claimed that both of them were in love.
BSF handed him over to the local police, which has booked him under section 12 of the Passport Act, 1967.