The 51-year-old, the only African to win the Ballon d’Or and FIFA World Player of the Year, started the friendly match in the Liberian capital of Monrovia and received a standing ovation after being substituted on 79 minutes.
But to some surprise, Weah captained the team and reportedly showed glimpses of his former magic while leading the attack.
Opponents Nigeria fielded a relatively strong side for the international friendly, with Leicester City duo Wilfred Ndidi and Kelechi Iheanacho both making appearances.
The Super Eagles dominated much of the showpiece, taking a two-goal lead through Henry Onyekuru and Simeon Nwankwo before the home side responded with a late Kpah Sherman penalty.
Weah is considered one of the greatest strikers in history. He played for Monaco, Paris Saint-Germain and AC Milan in an 18-year playing career and represented Liberia on 61 occasions.