skip to Main Content

I’m developing an app which must interact with Facebook API Graph and also use webhooks to get live updates. Now I’m facing a problem I can’t receive a live webhook updates until my app is reviewed and is not in development mode.

I’ve found a thread on a Fecebook for developers site describing the same problem and it got official answer – it is not possible. Use Test button in app dashboard to test your webhook implementation they said.

The problem is the Test button sends only one predefined data packet for each of possible subscription with predefined set of fields with fake values, but documentation defines much more fields and little to none information about which fields are sent in different situations (i.e. post added, comment deleted, comment edited).

I’m wondering how other devs solving this? May be there are some community driven reference for a different webhook interaction cases or else.

2

Answers


  1. Chosen as BEST ANSWER

    For now I can't find any information on detailed webhook format except official documentation on available fields (but not supported payload shapes). Our current workflow looks this way:

    1. create test app
    2. implement webhook handler using only documentation
    3. prepare test payload and check it is working
    4. create a screencast of the app functionality using test payloads
    5. go through the review process
    6. when app is approved
    7. make it live and check your implementation against real webhook payloads

  2. You need to create a test app for your existing Facebook app

    Once you do this, just accept the permissions for your app and set the webhooks on your own Facebook account.

    Since you are an admin of the test app, you will be able to set webhooks on yourself without having to get your app approved.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search