All digital photos have a hidden watermark embedded in it called the EXIF data. This EXIF data would usually details of how the photo was taken and with what camera.
Samsung, or rather their agency, posted a photo claiming to be theirs and taken with a Samsung camera. However, the photographer came across his photo and showed that this photo was taken with, not a Samsung camera, but with a Nikon.
Image from EDMW Facebook Page