facebook

Facebook Object Debugger - Could not resolve the hostname into a valid IP address

梦想与她 提交于 2020-08-01 05:05:46
问题 There is a problem with how Facebook scrapes my page for meta data. When I use the Facebook object debugger I get the following error: I am quite sure this has something to do with how my DNS records are defined. It seems the scraper can't even reach my site. As the error states, it can't turn the host name to a valid IP. When I press the link down the page "See exactly what out scra...", I get "Document returned no data". I am trying to figure it for about a month now and getting VERY VERY

How to get users email and fd id using facebook login with graph api

。_饼干妹妹 提交于 2020-07-18 06:22:11
问题 I am working for the first time with facebook API. From there documentation I found we can fetch name as below console.log(response.name); But How can I can also fetch email and fbid ? Thanks, Enamul <?php ?> <div id="fb-root"></div> <script> // Additional JS functions here window.fbAsyncInit = function() { FB.init({ appId : 'f', // App ID channelUrl : '//localhost/practices/phpTest/fblogin/login.php/channel.html', // Channel File status : true, // check login status cookie : true, // enable

Facebook Pixel slows down page load time by almost a full second

為{幸葍}努か 提交于 2020-06-28 04:50:29
问题 I'm starting to optimize and I have this problem with the Facebook tracking pixel killing my load times: Waterfall Report My page finishes around 1.1 seconds but the pixel doesn't finish until almost a full second later. My pixel script is in the head, per the docs. Is there any way of speeding this up? 回答1: The script probably doesn’t necessarily need to be in the head, even if Facebook recommends that as the default. As long as you don’t explicitly call the fbq function anywhere before the

Flutter Facebook Login in web

╄→гoц情女王★ 提交于 2020-06-27 16:42:06
问题 I have tried the Flutter Facebook Login package, it works properly in android but in web I am not being redirected to the Facebook for authentication. Can someone who tried this package help? 回答1: This plugin does not support web. But someone has updated the code to support it romulojjunior flutter_facebook_login If you wish to use it: flutter_facebook_login: git: url: git@github.com:romulojjunior/flutter_facebook_login.git ref: v1.3.0-web Could also try firebase_auth for Facebook auth:

URL Scheme to open Chrome/Firefox (Android OS) from Facebook post

只谈情不闲聊 提交于 2020-06-17 14:16:40
问题 We've a web page that needs to be open in Chrome/Firefox on Android to fully display the content. But when we post the link on Facebook, it always opens the links with its own web browser. So we're checking if there is a way to force opening the link in Chrome browser from a Facebook post. Here are some approaches that we tried: Use Chrome URL Scheme (googlechrome://navigate?url=example.com) Use window.location.href, window.open (url,"_system"), etc And even using the intent to launch chrome

Facebook Oembed returns unsupported browser page for HttpRequestMessage with UserAgent and Referrer

|▌冷眼眸甩不掉的悲伤 提交于 2020-06-16 04:18:11
问题 From my ASP.Net Core MVC app, I am trying to fetch OEmbed JSON from Facebook using server-side request from my local machine, but I'm still getting an unsupported browser page. What else do I need to pass? oEmbedUrl is "https://www.facebook.com/plugins/post/oembed.json/?url=" + a post URL. var request = new HttpRequestMessage(HttpMethod.Get, oEmbedUrl); request.Headers.AcceptLanguage.TryParseAdd("en"); request.Headers.UserAgent.TryParseAdd("Mozilla / 5.0(Windows; U; WindowsNT 5.1; en - US;

How to add SandBox Ad Account to BusinessManager?

穿精又带淫゛_ 提交于 2020-06-09 05:16:26
问题 Background I'm building an Ads-Management application tailored towards both marketing / advertising agencies and individual advertisers (users) To test marketing-api, I have setup a SandBox ad account The very first thing that I'm testing is creating and uploading of custom audience (CSV file upload) and sharing it across ad accounts owned by different BusinessManagers. From what I've gathered thus far, creating custom audience has 2 steps Create an empty Custom Audience Add (upload) users to

How to add SandBox Ad Account to BusinessManager?

给你一囗甜甜゛ 提交于 2020-06-09 05:15:06
问题 Background I'm building an Ads-Management application tailored towards both marketing / advertising agencies and individual advertisers (users) To test marketing-api, I have setup a SandBox ad account The very first thing that I'm testing is creating and uploading of custom audience (CSV file upload) and sharing it across ad accounts owned by different BusinessManagers. From what I've gathered thus far, creating custom audience has 2 steps Create an empty Custom Audience Add (upload) users to

Creating a Facebook Ad Account Sandbox account and unlocking ads_read - (AKA: Getting through the getting started tutorial from facebook)

时光怂恿深爱的人放手 提交于 2020-06-08 07:41:03
问题 I apologise in advance if this question has been asked elsewhere or if it's a stupid question, but I'm desperate! My goal Create a POC which connects to a facebook sandbox ad account and tests what features are exposed in the API, such as uploading new video ads or creating ad campaigns. The problem I am following facebooks own getting started example for connecting with nodejs: https://developers.facebook.com/docs/business-sdk/getting-started/#js When i try to read from the AdAccount i get

Facebook Marketing API - Creating an Ad in development mode

荒凉一梦 提交于 2020-06-07 07:18:09
问题 I'm implementing an application using Facebook Marketing API's SDK (python), I'm a newbie to this, yet I read the documentation and I was able to create campaigns, and ad sets. But not for ad creatives. The error was that my app is in dev mode and I need to switch it to be public. Status: 400 Response: { "error": { "message": "Invalid parameter", "type": "OAuthException", "code": 100, "error_subcode": 1885183, "is_transient": false, "error_user_title": "Ads creative post was created by an app