Can't create Promoted Post AdCreative

196 views
Skip to first unread message

Tim Smith

unread,
May 16, 2017, 11:42:15 AM5/16/17
to PythonForFacebook
Can anyone help me attach an existing post to an Adset?

I've followed the instructions at https://developers.facebook.com/docs/marketing-api/reference/ad-creative
to create an AdCreative from an existing post on one of our Facebook pages. 
Unfortunately it fails with the following message

Message: Call was not successful
  Method:  POST
  Params:  {'object_story_id': '1197874593674024', 'name': 'Promoted_Post_114'}

  Status:  400
  Response:
    {
      "error": {
        "fbtrace_id": "DklAwlC31cA",
        "code": 100,
        "type": "OAuthException",
        "message": "(#100) Invalid post_id parameter"
      }
    }

I've tried the same command with an URL but that just returns a list of existing IDs

The post I'm trying to add can be found at https://www.facebook.com/wardandpartners/posts/1197874593674024

Can anyone shed any light please?
Thanks
Tim


Casey Sokach

unread,
Jul 22, 2020, 11:50:39 AM7/22/20
to PythonForFacebook
Hi Tim!

Were you able to solve this issue? I am still getting the invalid post ID years later on Facebook Graph API v6.0

Any tips would be helpful!
Thanks
Casey
Reply all
Reply to author
Forward
0 new messages