Category : facebook-php-sdk

My main desired usecase is to manage the catalog and inventory of a Facebook Shop via API usage (even though I’m not yet a FB developer). From this documentation I get that it is completely posssible: https://developers.facebook.com/docs/commerce-platform/catalog/batch-api Nevertheless I have a couple of doubts. The documentation above is part of the facebook’s "commerce platform" (https://developers.facebook.com/docs/commerce-platform), ..

Read more

I am working on implementing Facebook PAGE messenger for my site and I want to add a feature that I can call Facebook User who message my Facebook PAGE. I already search on google about this matter but still no luck. is this possible to do? If not possible do you have any suggestion how ..

Read more

I’m trying to use an existing fb post to create a Traffic (LINK_CLICKS) objective ad. The problem is that I can’t add a call-to-action to an existing post. All the documentation points to either using object_story_spec which is an unpublished new post or using object_story_id without a call-to-action. Any ideas on how to achieve this? ..

Read more

I am totally new to Facebook and I am currently using the attribution API. This is my request: ?ids=<BUSINESS_ID>&fields=conversion_events .filter_by({"ids":["<CONVERSION_EVENT_ID>"]}) .metric_scope({ "filters":{ "click_lookback_window":"2419200", "view_lookback_window":"86400", "visit_configuration":"include_paid_organic" }, "time_period":"last_thirty_days" }) {id,name,cost_per_1k_impressions,cost_per_click,cost_per_visit,net_media_cost,report_click_through_rate,report_clicks,report_impressions,report_visits,last_touch_convs,last_touch_convs_per_1k_impress,last_touch_convs_per_click,last_touch_convs_per_visit,last_touch_cpa,last_touch_revenue,last_touch_roas,total_conversions, metrics_breakdown .dimensions(["source_channel"]) {source_channel,cost_per_1k_impressions,cost_per_click,cost_per_visit,net_media_cost,report_click_through_rate,report_clicks,report_impressions,report_visits,last_touch_convs,last_touch_convs_per_1k_impress,last_touch_convs_per_click,last_touch_convs_per_visit,last_touch_cpa,last_touch_revenue,last_touch_roas} } This is what I am getting as a response: My issue is the source_channel parameter is an enum and correspond to one ..

Read more

I am using the Attribution API to collect attribution data using the Facebook graph API. I am able to make GET requests and get responses from the API but I have some trouble to build my request parameters. If you are familiar with Facebook, there is a page available at https://business.facebook.com/attribution where you get informations ..

Read more