Unable to receive webhook of activity on the Page, resulting in incomplete system functions and inability to apply for other related scopes. The scope "pages_manage_metadata" has been approved, but we still cannot receive webhook generated by any "non-APP tester" Page activity(only the specified tester role of this application can receive it)

I want to print dynamic multiline text in whatsapp messages. The messages are sent via Facebook Graph API. I have used the \\n character to insert a new line. See request below.

Request:

POST https://graph.facebook.com/v20.0/XXXXXXXXXXXXXXXX/messages Content Type: application/json; charset=UTF-8 Body: {"messaging_product":"whatsapp","to":"XXXXXXXXXXX","type":"template","template":{"language":{"code":"en"},"name":"order_updated_message","components":[{"type":"body","parameters":[{"type":"text","text":"Jon Doe"},{"type":"text","text":2},{"type":"text","text":" *1. Wrapped Plate, 8 in | 1 Pc*\\nRate: 3.000\\nQty: 8000\\nAmount: 24000.00\\n\\n *2. Bottle Brush | 1 Pc*\\nRate: 18.644\\nQty: 11\\nAmount: 242.00"},{"type":"text","text":24242.00},{"type":"text","text":"John Lee"},{"type":"text","text":"+91XXXXXXXXX"}]}]}} 

The request succeeded till a few days ago, but then kept failing. See the failure response below.

Response:

HTTP Status: 400 Bad Request {     "error": {         "message": "(#100) Invalid parameter",         "type": "OAuthException",         "code": 100,         "error_data": {             "messaging_product": "whatsapp",             "details": "Param text cannot have new-line/tab characters or more than 4 consecutive spaces"         },         "fbtrace_id": "XXXXXXXXXXXXXXXXXXXX"     } } 

If I remove the \\n character, the request succeeds. So Im assuming the failure is caused by \\n itself.

I also tried replacing \\n with the following:

  • \n --> same error
  • \u000A --> same error
  • %0A --> character displayed as it is. (No new-line)

Can you tell me what has gone wrong?

Note: The message body contains our customer's ordered items. The number of items can vary by order and hence the number of lines can vary in each message. Thus, I cannot add new lines in the message template.

I want to implement both Google Remarketing and GA4 Ecommerce events into my website.

According to the latest Google Ads Remarketing docs (https://support.google.com/tagmanager/answer/6106009?hl=en#zippy=), this is done like this:

dataLayer.push({   'event': 'add_to_cart',   'value': 78.45,   'items' : [{     'id': '1234',     'google_business_vertical': 'retail'   }] }); 

I already have lots of dataLayer pushes using the same event names (e.g. add_to_cart etc.) also using the "items"-array for GA4 Ecommerce events - but for those, the identifier is not id, but item_id. See the official reference here: https://developers.google.com/analytics/devguides/collection/ga4/reference/events?hl=de&client_type=gtag#add_to_cart

Now I am wondering: whats the best and correct way, to implement both frameworks? Do I:

  1. do 2 pushes, once the ga4 ecommerce one and once the remarketing one?
  2. combine both pushes and use both id AND item_id as keys in my array?
  3. push 2 item-arrays within one push, as our marketing agency suggested?

None of those options seems really ideal to me.

I am trying to create an application that publishes posts to my Facebook Page. Here are the steps I have taken:

  1. Create app via link https://developers.facebook.com/
  2. In section Add use cases I selacted Other
  3. Select an app type -> Buiseness
  4. Then I created app
  5. I didnt add any Add products to your app I directly go to https://developers.facebook.com/tools/explorer/
  6. In permision section I selected pages_read_engagement and pages_manage_posts
  7. Then in User or Pages I selected Get Page Access Token
  8. I selected my page (I created it)
  9. Then I generated access token
  10. I run this query and copy number id from return
  11. Then I run /id/feed POST to publish post:

I get error message that I'm not admin or have incorrect permissions. In my opinion this is correct so issue is somewhere other. Can you please help me find solution for running POST query and publish post on a FB page?