Fixed bug in open graph api file. Added pending attachment