I'm using Python to create a script that allows me to create a label in the inbox (for a Facebook page), and then associate or tag a user with a specific label.

This is the function I made:

def associate_label_to_user(recipient_id, label_id, access_token): url = f"https://graph.facebook.com/v19.0/{label_id}/label?access_token={access_token}" data = {     "user": recipient_id } response = requests.post(url, json=data) response_json = response.json() # print(response_json) if response.status_code == 200:     success = response_json['success']     if success:         print("[LOGS] Association of label to user successful") else:     print("[LOGS] Error associating label to a user") 

I'm reading their documents here https://developers.facebook.com/docs/messenger-platform/identity/custom-labels/, and I'm not experiencing any other problem.

Whenever I run the script, it works (I see the user being labeled correctly), but I'm getting this error in return:

{'error': {'message': 'Unsupported request - method type: post', 'type': 'GraphMethodException', 'code': 100, 'fbtrace_id': 'ApHRHoVZFM_BUqHpOs3KdKX'}} 

I don't understand what this means, when it works for me anyway.

Hi there,
We're reaching out because our datastream is being affected by the recent deprecation of certain fields in Facebook Page Insights reports.
We'd appreciate it if you could advise on any alternatives or workarounds available to access this data. If there aren't any current alternatives, is there a roadmap for when replacements might be available?
Thanks in advance for your assistance.

Hello,
I have one site where te OG:Image does not work in FB, works on all other platforms, so the code is correct. Even the FB OG debug shows a working OG:Image url. I have tried uploading different images, the same image in a slightly different size, but the FB debugger just shows a empty gray area.