I want see my conversation delete and unsend
I want see my conversation messages delete And unsend messages
Tony-Marketing-API.cn is a vibrant community dedicated to Facebook, Meta,Google Ads api, app development, Instagram, and related technologies. It offers valuable bug solutions, troubleshooting cases, and problem-solving strategies shared by users. Stay updated with real-world solutions, development tips, and the latest trends in digital marketing and app development.
I want see my conversation messages delete And unsend messages
Dear Meta Support Team,
I am encountering an issue while attempting to send a message using the WhatsApp Business API. The error details are as follows:
Error Message: (#135000) Generic User Error API Endpoint: https://graph.facebook.com/v21.0/415723888299945/messages Template Name: event_details_reminder_1 Recipient Phone Number: 917037488888 fbtrace_id: A6RZEVtR-plLeu0-8deIDcL Access Token Permissions: Verified for whatsapp_business_messaging. Steps Taken to Troubleshoot:
Verified the template name and ensured it matches exactly as approved in the Business Manager. Checked the recipient phone number format (E.164) and ensured it is on the recipient list. Ensured all placeholders in the template are passed in the API request. Tested the API endpoint with Postman and directly with cURL. Despite these efforts, the issue persists. Kindly assist in resolving this issue and provide guidance on why this error is occurring.
Looking forward to your response.
Best regards,
Dear community, I have a Python code to retrieve insight that has been running and working for a while now. I use it on different AdAccounts but lately there are some account that I couldn't get this job finished for. The code is running, and the async job is progressing as expected. However, it gets stuck when I reach the final completion percentage (77, 81, sometimes even 100) on the RUNNING state. I'm sharing below the code snippet and the params (except the AdAccount ID which is confidential), anyone has an idea why it happens?
level = AdsInsights.Level.ad
fields = [
AdsInsights.Field.account_id,
AdsInsights.Field.adset_id,
AdsInsights.Field.ad_id,
AdsInsights.Field.campaign_id,
AdsInsights.Field.actions,
AdsInsights.Field.action_values,
AdsInsights.Field.unique_actions,
AdsInsights.Field.spend,
AdsInsights.Field.impressions,
AdsInsights.Field.clicks,
AdsInsights.Field.unique_clicks,
AdsInsights.Field.objective,
AdsInsights.Field.conversions,
AdsInsights.Field.conversion_values,
AdsInsights.Field.unique_conversions,
AdsInsights.Field.video_p25_watched_actions,
AdsInsights.Field.video_p75_watched_actions,
AdsInsights.Field.video_avg_time_watched_actions,
AdsInsights.Field.video_thruplay_watched_actions,
AdsInsights.Field.video_play_actions,
AdsInsights.Field.video_continuous_2_sec_watched_actions,
]
action_attribution_windows = [
AdsInsights.ActionAttributionWindows.value_1d_view,
AdsInsights.ActionAttributionWindows.value_1d_click,
AdsInsights.ActionAttributionWindows.value_7d_view,
AdsInsights.ActionAttributionWindows.value_7d_click,
AdsInsights.ActionAttributionWindows.value_28d_view,
AdsInsights.ActionAttributionWindows.value_28d_click
]
breakdowns = [AdsInsights.Breakdowns.country]
def get_insights_report(
ad_account: AdAccount,
start_time: datetime,
end_time: datetime,
level: AdsInsightsLevel, # type: ignore
fields: List[AdsInsightsField], # type: ignore
action_attribution_windows: List[AdsInsightsActionAttributionWindows], # type: ignore
breakdowns: List[AdsInsightsBreakdowns], # type: ignore
):
day_ago = start_time
day_after = end_time
insights_report = ad_account.get_insights_async(
fields=[k.value for k in fields], # type: ignore
params={
"action_attribution_windows": [k.value for k in action_attribution_windows], # type: ignore
"breakdowns": [k.value for k in breakdowns], # type: ignore
"time_range": {
"since": day_ago.strftime("%Y-%m-%d"),
"until": day_after.strftime("%Y-%m-%d"),
},
"time_increment": 1, # one day,
"level": level.value, # type: ignore
"limit": 250,
},
)
result = insights_report.api_get()
job_id = result[AdReportRun.Field.id]
logger.info(f"Fetching reports id {job_id}")
while (
result[AdReportRun.Field.async_status] != "Job Completed"
or result[AdReportRun.Field.async_percent_completion] < 100
):
logger.info(
f"{result[AdReportRun.Field.async_percent_completion]}% complete ({result[AdReportRun.Field.async_status]})"
)
if result[AdReportRun.Field.async_status] == "Job Failed":
raise FacebookAsyncJobError(f"insights async {level} insights job failed")
time.sleep(10)
result = insights_report.api_get()
return result
I have required "updated" permissions as per this document - https://developers.facebook.com/docs/instagram-platform/instagram-graph-api/reference/ig-user/insights#requirements
"instagram_business_basic" and "instagram_business_manage_insights"
But I am still unable to get insights for the testing Instagram account. - Instagram account is linked to Facebook account - Have added instagram account as tester in app
Any help would be much appreciated.
Hi everyone,
I'm integrating the Instagram API into my iOS app to enable users to share prepopulated content directly to Instagram Stories. I have successfully implemented a button that shares the background of the post, but I'm struggling with including a link that automatically gets copied to the clipboard and appears on a sticker, similar to what apps like NGL: ask me anything do.
Does anyone know how to automatically include a link in the story content that users can share? Specifically, I'm looking for guidance on whether there's an application process or specific permissions required to enable this feature. I haven't been able to find documentation related to this functionality.
Any advice on where to start or what steps to follow would be greatly appreciated!