Posts tagged with wordpress

I am trying to create a slider for the feed of a Facebook page with slider revolution. When I try to link the Facebook account to the slider I get this error: "Facebook API error: error getting access token for page data", while the Instagram account bound to that page works.

I have also tried to create the token manually from developper.facebook.com with API Graph and inserted the token into the slider, but I get this other error: Make sure that the stream settings are prorerly selected in Module General options > Content > Stream Settings In the API Graph tool in the me/accounts endpoint I get this result:

{   "data": [     {       "access_token": "my token",       "category": "Organization",       "category_list": [         {           "id": "my ID",           "name": "My organization"         }       ],       "name": "My Page name",       "id": "page ID",       "tasks": [         "ADVERTISE",         "ANALYZE",         "CREATE_CONTENT",         "MESSAGING",         "MODERATE",         "MANAGE"       ]     }   ],   "paging": {     "cursors": {       "before": "QVFIUmQ3bVNJT05ZATVREaFp3ejRRRzdreHg5Q3pnV0xXbFFmWXk2ZAUo3Mm9lZADhTN0c5YnF2QTBienJKWG1tZAy0tXzhRZA0lhUGEzcVVzVkhNcTRzQ3I1R0N3",       "after": "QVFIUmQ3bVNJT05ZATVREaFp3ejRRRzdreHg5Q3pnV0xXbFFmWXk2ZAUo3Mm9lZADhTN0c5YnF2QTBienJKWG1tZAy0tXzhRZA0lhUGEzcVVzVkhNcTRzQ3I1R0N3"     }   } } 

In WordPress I disabled all the plugins and custom theme, but still have error. What could be the problem? Thank you any help

I have a Flutter newsreader app that uses a WordPress JSON feed for its content. Im using Advanced Ads Wordpress plugin and its injecting the same ads that are on the web into the JSON Feed with the post content.

When my WebView loads it automatically spawns an external browser. This is without user interaction. The ads are loading fine in the webview. I had the same issue with youtube but applying the same solution to the google ads URL does not work.

import 'dart:convert'; import 'package:flutter/material.dart'; import 'package:webview_flutter/webview_flutter.dart'; import 'package:url_launcher/url_launcher.dart'; import 'data.dart'; // Post model import 'html.dart'; // For building HTML content import 'package:share_plus/share_plus.dart'; // Import share_plus class PostDetailScreen extends StatefulWidget{   final Post post;   final List<Post> recentPosts;   const PostDetailScreen({Key? key, required this.post, required this.recentPosts}) : super(key: key);   @override   PostDetailScreenState createState() => PostDetailScreenState(); } class PostDetailScreenState extends State<PostDetailScreen>{   late WebViewController _controller;   String htmlContent = '';   bool isLoading = true;   @override   void initState() {     super.initState();     loadContent();   }   Future<void> loadContent() async {     String encodedVisbyFont = await loadEncodedFont();     String encodedCanelaFont = await loadCanelaFont();     htmlContent = buildHtmlContent(         widget.post.imageUrl,         widget.post.title,         widget.post.content,         widget.post.author,         widget.post.modified,         encodedVisbyFont,         encodedCanelaFont,         widget.recentPosts.take(10).toList()     );     setState(() {       isLoading = false;     });   }   Future<void> updatePostContent(String postLink) async {     final selectedPost = widget.recentPosts.firstWhere(           (post) => post.link == postLink,       orElse: () => widget.post,     );     String updatedContent = buildHtmlContent(       selectedPost.imageUrl,       selectedPost.title,       selectedPost.content,       selectedPost.author,       selectedPost.modified,       await loadEncodedFont(),       await loadCanelaFont(),       widget.recentPosts.take(10).toList(),     );     setState(() {       htmlContent = updatedContent;     });     _controller.loadUrl(Uri.dataFromString(       htmlContent,       mimeType: 'text/html',       encoding: Encoding.getByName('utf-8'),     ).toString());   }   @override   Widget build(BuildContext context) {     final bool tablet = MediaQuery.of(context).size.width > 600;     final double titleFontSize = tablet ? 36.0 : 24.0;     final double iconSize = tablet ? 36.0 : 30.0;     final EdgeInsetsGeometry iconPadding = tablet ? const EdgeInsets.all(12.0) : const EdgeInsets.all(8.0);     final double appBarHeight = tablet ? 70.0 : 56.0;     return Scaffold(       appBar: PreferredSize(         preferredSize: Size.fromHeight(appBarHeight),         child: AppBar(           title: Text(             'FRENCHLY',             style: TextStyle(               fontFamily: 'Oswald',               fontSize: titleFontSize,               fontWeight: FontWeight.bold,               color: Colors.white,             ),           ),           backgroundColor: const Color(0xFF1D5986),           centerTitle: true,           iconTheme: IconThemeData(color: Colors.white, size: iconSize),           actions: <Widget>[             Padding(               padding: iconPadding,               child: IconButton(                 icon: Icon(Icons.share, color: Colors.white, size: iconSize),                 onPressed: () {                   Share.share('${widget.post.title}\n\n${widget.post.link}');                 },               ),             ),           ],         ),       ),       body: isLoading           ? const Center(child: CircularProgressIndicator())           : WebView(         initialUrl: Uri.dataFromString(           htmlContent,           mimeType: 'text/html',           encoding: Encoding.getByName('utf-8'),         ).toString(),         javascriptMode: JavascriptMode.unrestricted,         onWebViewCreated: (WebViewController controller) {           _controller = controller;         },         navigationDelegate: (NavigationRequest request) async {           if (request.url.startsWith('post://')) {             final postLink = Uri.decodeFull(request.url.substring(7));             updatePostContent(postLink);             return NavigationDecision.prevent;           } else if (request.url.contains('youtube.com') || request.url.contains('youtu.be')) {             // Load YouTube URLs in the WebView itself             return NavigationDecision.navigate;           } else if (await canLaunchUrl(Uri.parse(request.url))) {             await launchUrl(Uri.parse(request.url), mode: LaunchMode.externalApplication);             return NavigationDecision.prevent;           }           return NavigationDecision.navigate;         },       ),     );   } } 

I am running google ads and having invalid click issues my ad serve only in Dubai, problem i face my competitor click bomb my ad from UK, FRACE and other countries mostly from Europe and Britain, I excluded all the world expect Dubai but my competitor still able to see my ad and clicking them with some kind of bot till Dawn to Dusk.

I talked with google and they said our system filter invalid clicks but still 30 to 50 percent clicks google consider legit.

I come up with a solution by installing a plugin in WordPress and filtering traffic by filtering URL with "/?gclid=" parameter. But now I have to do it manually.

My question is there any automate rule in WordPress so I can block an IP address automatically if he click on my ad more then a couple of times.

Today, our google ads rejected due to macilious software issue. we have investgated this problem in details. we have checked the follow at our end:

  • we have check thorughly all website code
  • we have already scan our website using "malware scanner"
  • we have checked the website maleware scanner for virus total.
  • we have checked our database
  • the time-stamp of all pages are not change in recent time

BUT! occasionally a pop-up appears at the bottom of the webpage. the screenshot is attached to this message. https://exactautoglass.ca/[![enter image description here](https://i.sstatic.net/86TgZ.png)](https://i.sstatic.net/86TgZ.png)

i have tried eveything to run my google ads but it always rejected due to the "Malicious Software". I am looking for the solution!!

Any help would be appreciated. thanks

I was making some changes to a Wordpress page, I have access to the CPanel. I didn't realize until the next day that this text appeared above the site header: "gtag('config', 'AW-XXXXXXXXX'); "

show image

From what I've researched, it's the global site tag for conversion tracking in Google Ads, but I don't know how to hide it or why it appeared.

Does anyone know how to hide it and where it is located? Please