Changed image type to PNG and the catch clause to save to JPG
Removed unnecessary auth token variable
Refactored Facebook posting function into a separate method
Changed the Imgur link to replace '.png' instead of '.jpg'