简体   繁体   English

Adblock Plus正在阻止我的自定义Facebook feed的图像

[英]Adblock Plus is blocking my custom Facebook feed's images

I am using Facebook's graph API to pull images posted to a company FB page and putting them on a web page. 我正在使用Facebook的graph API提取发布到公司FB页面的图像,并将其放置在网页上。 Some images show up fine, some don't show up at all. 有些图像显示很好,有些根本没有显示。 Looking at the page's source code I can see that all the images that are working have a URL that begins: graph.facebook.com/... and the images that won't load begin with: facebook.com/ads/images/... 查看页面的源代码,我可以看到所有正在运行的图像都有一个以以下内容开头的URL:graph.facebook.com / ...,而无法加载的图像以以下内容开头:facebook.com/ads/images/ ...

Suspecting that the /ads/ part of the URL was triggering Adblock to block the images, I disabled Adblock for the page and the missing images appeared. 怀疑URL的/ ads /部分正在触发Adblock阻止图像,因此我禁用了该页面的Adblock,并出现了丢失的图像。

Given that is impractical to expect all visitors not to use Adblock, I'm wondering how I can fix this issue. 鉴于期望所有访问者不要使用Adblock是不切实际的,我想知道如何解决此问题。

Thanks! 谢谢!

Its the way filters are implemented inside Adblock. 它是在Adblock中实现过滤器的方式。 For them, somehow the api and image along with the ip lookup translates to an ad which should be blocked. 对于他们来说,api和图像以及ip查找会以某种方式转换为应被屏蔽的广告。 They use lot of parameters to determine if it translates to an ad or not like comparing image dimensions, filename, social media links, behaviour etc. So about the question of fixing it would simply would be to correct the way Adblock works or improving its detection for the ads in this case. 他们使用大量参数来确定它是否翻译成广告,例如比较图像尺寸,文件名,社交媒体链接,行为等。因此,解决此问题仅是纠正Adblock的工作方式或改善其检测能力在这种情况下的广告。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM