facebook-insights

The parameter 'custom_events' or 'custom_events_file' is required for the 'CUSTOM_APP_EVENTS' activity

不打扰是莪最后的温柔 提交于 2019-12-31 10:29:08
问题 Upon upgrading from the Facebook iOS SDK version 3.7.1 to 3.8, I started seeing the following in my console log when authenticating with my app through Facebook: FBSDKLog: Error Domain=com.facebook.sdk Code=5 "The operation couldn’t be completed. (com.facebook.sdk error 5.)" UserInfo=0xc5a9cf0 {com.facebook.sdk:HTTPStatusCode=400, com.facebook.sdk:ParsedJSONResponseKey={ body = { error = { code = 100; message = "(#100) The parameter 'custom_events' or 'custom_events_file' is required for the

Facebook insights API call with breakdown on product_id throws error

旧时模样 提交于 2019-12-30 14:08:12
问题 i want to make an insights API Call based on a campaign id with a breakdown on product_id: /{campaign_id}/insights?fields=clicks,ad_id,adset_id,campaign_id,account_id,impressions,cpc,cost_per_inline_link_click,cost_per_inline_post_engagement,cpm,ctr,inline_link_click_ctr&time_range={"since":"2017-07-30","until":"2017-07-30"}&level=ad&breakdowns=product_id&limit=15 if I add another field like inline_link_clicks or frequency i get the following error { "error": { "code": 1, "message": "Please

Accessing Facebook API Page Insights with Python

假装没事ソ 提交于 2019-12-23 05:43:14
问题 I'm currently an administrator of a Facebook Page and I'm attempting to access some insights from it and I'm having lots of trouble gaining any access to the API. At the moment, it currently returns no data. Can anyone figure out why? Trying to get a code written that'll let me input whatever metrics I am searching for under the 'metric' part of the parameters. graph=facebook.GraphAPI(access_token=token) page_info=graph.get_object('me') # returns metadata for page page_ID=page_info['id'] #

How can I get more than 25 results from Facebook's insights api using Facebook-business-python-sdk?

三世轮回 提交于 2019-12-23 04:06:15
问题 I'm trying to get basic ad level data from Facebook's insights API using facebook-python-business-sdk with python 3.7. The problem is I'm only getting 25 results back, even in accounts that have more than 25 active ads. I'm using the get_insights method on each account, passing a 'level':'ad' param and filtering on a specific date. I've also checked whether I've reached facebook's limit (using the explanation provided here) and I'm not even close to the limit. The get_insights method doesn't

Facebook app being throttled, what is gr:post:User/external_edge

可紊 提交于 2019-12-23 03:18:42
问题 Our app is currently being throttled, we are getting { "error": { "message": "(#4) Application request limit reached", "type": "OAuthException", "code": 4 } } On App -> Insights -> Developer -> Activity & Errors we are seeing Restrictions App is unrestricted. API Throttling None during specified period. So it doesn't look like we should be getting throttled, but I can see a warning, Calls Are Too CPU Intensive - 2 hours, 38 minutes Method Fraction of Budget gr:post:User/external_edge 109% gr

Can't find my app on facebook insights?

混江龙づ霸主 提交于 2019-12-22 18:09:38
问题 I'm running a site using social plugins, so I created a facebook app then I want to use facebook insight to connect my website and app (ps. I also add app_id or meta in header) but I can't find the app I create in the connect list does anyone has a clue what's going on?? 回答1: It appears to be a Facebook caching issue - the UI is simply not refreshing and providing the new app options. However you can still submit the request with the required app id manually. I used firebug to inject my new

Facebook full permission AccessToken alternative to Offline access token

徘徊边缘 提交于 2019-12-19 06:29:24
问题 Currently I am using desktop windows service to download my Facebook page insights/ page likes/friends etc. graph data . so, for that i have added app on my facebook page and generated full permission offline access token. so, using that i am downloading my facebook page insights properly from last one year. But, as Facebook deprecated offline acccess token. Please anyone can help me how i can generate Access Token with full permission to download my page insight data without signing in

Facebook Marketing API - Python to get Insights - User Request Limit Reached

≡放荡痞女 提交于 2019-12-17 19:24:56
问题 So I am trying my best to navigate my way through the Facebook API. I need to crate a script that will download my business' campaign information daily as a csv file so I can use another script to upload the information to our database easily. I finally have code that works to print the information to the log, but I am reaching the user request limit because I have to call get_insights() for every single campaign individually. I am wondering if anyone knows how to help me make it so I don't

The “Link With” drop-down for adding a domain to Insights no longer lists my apps

半世苍凉 提交于 2019-12-12 01:49:29
问题 I am trying to link a domain with an app in Facebook Insights. https://www.facebook.com/insights/ => Domain Insights => Add Your Domain (Button) Normally, I would see all of my applications in the "Link With" drop-down in the resulting dialog. However, as of yesterday, I only see my name: "Jason XXXXX (You)" Anyone know what's going on with this? Thanks in advance, Jason 回答1: I've been experiencing the same issue. Facebook previously supported page_ID as the on-site element for authorizing

Claiming a domain for Facebook Insights

做~自己de王妃 提交于 2019-12-11 08:23:02
问题 I've added the required meta tags (as per http://developers.facebook.com/docs/insights/) on a test environment, but when I use the dashboard to claim the domain, it gives an error indicating that no admin data could be found at the root. Any idea what I've done wrong / why it isn't working? See test site here: http://www.test.bbc.co.uk Thanks very much, Aodh. 回答1: You don't have an fb:admins meta tag there, there's an fb:page_id tag but that's deprecated and if it worked for you before, it