facebook

Facebook Developer Account vs Facebook Personal Profile

折月煮酒 提交于 2021-01-28 08:30:53
问题 I would like to deactivate my personal Facebook profile. The problem is that I have created a number of applications which are linked to the Facebook developer profile. These applications do a number of things - provide authentication, service data requests with permissions from the API etc. These apps are used by some of my clients so it is important that these apps continue to function. If I deactivate my personal account, what will happen to these apps? Additionally, is it possible to keep

Requesting page insight for Facebook getting error “Graph returned an error: An unknown error has occurred. ”

江枫思渺然 提交于 2021-01-28 06:04:59
问题 $helper = $fb->getRedirectLoginHelper(); $permissions = ['email','manage_pages','pages_manage_cta','publish_pages','publish_actions']; giving permissions. $loginUrl = $helper->getLoginUrl('http://localhost/Facebook/insight.php', $permissions); echo '<a href="' . $loginUrl . '">Log in with Facebook!</a>'; facebook Insight code. $fb->setDefaultAccessToken($accessToken); Get user groups detail $requestPageInsights = $fb->request('GET', '/1364467436924381/insights/, $accessToken'); //Make a batch

Requesting page insight for Facebook getting error “Graph returned an error: An unknown error has occurred. ”

做~自己de王妃 提交于 2021-01-28 06:00:58
问题 $helper = $fb->getRedirectLoginHelper(); $permissions = ['email','manage_pages','pages_manage_cta','publish_pages','publish_actions']; giving permissions. $loginUrl = $helper->getLoginUrl('http://localhost/Facebook/insight.php', $permissions); echo '<a href="' . $loginUrl . '">Log in with Facebook!</a>'; facebook Insight code. $fb->setDefaultAccessToken($accessToken); Get user groups detail $requestPageInsights = $fb->request('GET', '/1364467436924381/insights/, $accessToken'); //Make a batch

facebook api get live comment

给你一囗甜甜゛ 提交于 2021-01-28 05:05:24
问题 as facebook mentioned here for get live comment and i do like what they said var source = new EventSource("https://streaming-graph.facebook.com/2025853151054872/live_comments?access_token=MY TOKEN HERE&fields=from{name,id},message"); source.onmessage = function(event) { console.log(event); // Do something with event.message for example }; this will give me 401 error and as they mentioned here at the end of page its mean Unauthorized Make sure your app has the right permissions and that the

Facebook Marketing API. Geographic search

随声附和 提交于 2021-01-28 02:37:20
问题 I am trying to get list of all cities of a country from Facebook. I started from FB documentation of v2.9 here: Facebook Marketing API And tried of getting list of cities as described using curl: curl -G \ -d 'location_types=["city"]' \ -d 'type=adgeolocation' \ -d 'q=dub' \ -d 'access_token=<MY_TOKEN>' \ https://graph.facebook.com/v2.9/search But it returns empty json. If i remove q=dub parameter it still returns empty data. But if i put country as a type of location, then it nicely returns

I am getting an error when using the facebook api

限于喜欢 提交于 2021-01-27 20:45:44
问题 File "SAMPLE_CODE.py", line 21, in <module> from facebookads.adobjects.adaccount import AdAccount File "/usr/local/lib/python3.7/site-packages/facebookads/adobjects/adaccount.py", line 1582 def get_insights(self, fields=None, params=None, async=False, batch=None, pending=False): ^ SyntaxError: invalid syntax I am trying to use the Facebook API and I am getting this error. Not sure what to do about it. This is my first time setting up and trying to use this API. Any help would be appreciated

Create Facebook Live Reactions Animation Overlay

本小妞迷上赌 提交于 2021-01-27 05:55:55
问题 I'm currently working in a messaging application, where I want to show new user as animated flying icon like facebook live floating reactions. Can anybody enlighten which process I should follow or any helpful library link please? I've already tried browsing and checked few library links like this1 and this2 but these are not something similar to facebook live reaction packs. 回答1: I have achieved this by modifying an old code So here is my solution. You can change the direction and number of

Site URL has been been identified as malicious and/or abusive

半城伤御伤魂 提交于 2021-01-27 04:44:42
问题 This question has been around but my scenario is pretty tricky. I'm in the half-way of developing and launching a pretty large Facebook application (website) in Google App Engine and brought my own custom domain to point to the app id. In the Facebook apps panel I registered : 1 application for the custom domain 1 application for the subdomain given by google app engine Few days I've been testing the application through the custom domain. I forgot to change the redirect URL in my

Firebase provider sign-in is not working inside facebook/messenger/instagram in-app browser webview. Error 403: disallowed_useragent

拟墨画扇 提交于 2021-01-27 04:22:13
问题 my team uses firebase auth and we recently run into major problems. We started advertising our website on facebook. Unfortunately, facebook app opens all the links in the in-app webview. Google blocked support for signing in with provider through embedded browser, so none of the users that opens our webapp through facebook/messenger/instagram apps can sign in. Google/Facebook sign-in returns 403: disallowed_usegagent and it is impossible to sign up. Is there any workaround? Has anyone

Firebase provider sign-in is not working inside facebook/messenger/instagram in-app browser webview. Error 403: disallowed_useragent

旧巷老猫 提交于 2021-01-27 04:20:25
问题 my team uses firebase auth and we recently run into major problems. We started advertising our website on facebook. Unfortunately, facebook app opens all the links in the in-app webview. Google blocked support for signing in with provider through embedded browser, so none of the users that opens our webapp through facebook/messenger/instagram apps can sign in. Google/Facebook sign-in returns 403: disallowed_usegagent and it is impossible to sign up. Is there any workaround? Has anyone