"Facebook account has been restored...Ganpati Baapa Morya," Shahid wrote on the micro-blogging website.
Earlier on Sunday night, the "Haider" actor wrote on Twitter about the hacking.
"My Facebook account has been hacked and will be restored shortly. If you see anything ambiguous please know it's not me," he wrote.
However, no irregular activity was seen and he could restore the account before matters got worse.
This is not the first time an actor's account has been hacked on social media platform.
Earlier this month, megastar Amitabh Bachchan faced a similar issue when his Twitter account was hacked.