How can I fix a broken MacBook Pro camera cable?
There is a wonderful site "ifixit" that has answers to that question.


  The camera cable socket is very fragile. Do not apply any upward force
  to this socket, as it may break off the logic board. Pull the camera
  cable parallel to the face of the logic board.




If you are lucky, you did not damaged the socket but just the cable. 

Replace the cable to find out.