An original electrochemical pathway for the synthesis of porphyrin oligomers.