Appearing before Swansea Crown Court, Gamboa, of Johnson Fold Ave, Bolton, admitted causing death and serious injury by dangerous driving.
During the hearing, Paul Hobson, prosecuting, told the court how Gamboa had been egged-on by his friends, who encouraged him to drive faster as they shared the footage with friends on Snapchat.
Recordings recovered from their mobile phones also showed the final moments leading up the crash, with Gamboa heard swearing as his car fishtailed, mounted a bank and then swerved across the A487 main road and into the cottage.
In a police interview conducted after the crash and played in court, Gamboa said: "I take full responsibility for what happened. My stupid decision to drive so fast was the cause of the collision. I deserve to be punished. I am deeply sorry for what happened".
Defending, Charles Row said that Gamboa was so stricken with guilt that he had claimed he wished he had been killed instead of his friend.
Judge Keith Thomas, sentencing, told Gamboa that he had used the road as a racetrack, as he jailed him for four years.
"You drove at breakneck speed saying you were trying to reach one hundred miles an hour," he added. "And you ignored signs telling you to slow down and that there were bends ahead. Your friend was only 18 and had his whole life in front of him. You have caused incalculable loss to his family."
Gamboa, a Domino's pizza restaurant shift manager, was also banned from driving for five years.