How to link to specific page on website with custom tab - wordpress

Now that the App Profile Page is no longer available, I tried using this link provided by Facebook to open a specific file on a WordPress website to the custom tab:
http://www.facebook.com/dialog/pagetab?app_id=YOUR_APP_ID&redirect_uri=YOUR_URL
This worked well for yoururl.com/ (main directory) which is also the index.php home page of the website. However, when I attempted to use a custom tab to connect to a different page on the site, such as yoururl.com/about/ I received the dreaded 191 error message:
API Error Code: 191
API Error Description: The specified URL is not owned by the application
Error Message: redirect_uri is not owned by the application.
The workaround I ended up using was to copy the source code of the page by hand and create a new standalone HTML document, but I would really rather have the custom tab open the actual page so my client can update the WordPress herself without me having to edit the HTML for small changes.
Any advice?

I think your Facebook app settings may not be correct. Your site url should be the url to your main website domain homepage, eg http://www.domain.com Then your canvas url should be a link to the page you are trying to pull in, eg http://www.domain.com/facebook-tab
It should be as simple as that....fingers crossed

I am not a developer, but have been reading about building a custom app for my business page. I read that the url needs to be from a secure page url (https). Hope that helps.

Related

Always showing cookies error for a first time visitor trying to login

I am using WPBrigade plugin "LoginPress" and has a login page which is created from file: wp-login.php.
If a new visitor is logging into the site, it displays an login_error with the following warning:
quote Error: Cookies are blocked or not supported by your browser. You must enable cookies in order to use WordPress.
If the user tries to login again without clicking on the link provided by the error message and do not adjust browser settings regarding cookies the login works fine and the user is logged into the site. If they click on the link they are redirected to wordpress official site regarding cookies. If they then return to the site it works fine (since it's a second attempt like in the first case).
My problem is that I want the user to be able to login without having this warning that disturbs the user experience. The login process is now 2 steps with a mandatory second try that works. I want it to work the first time. I can't seem to find the solution plugin documentation, and niether on wordpress site.
Check the issue by enabling the debugging in WordPress
https://wordpress.org/support/article/debugging-in-wordpress/

Error when uploading media in wordpress website [update]

I'm using a wordpress blog theme that contains a signup/ login form for users.
When I login to the website using login form in the website and try to upload media from website, it will get an error:
In the other hand when I login to the website using example.com/wp-admin link and try to upload media from website, it works without any error!
Is there any code that I should add to the website to solve this issue?
I should also mention that the media is uploaded correctly from dahsboard without any error.
Can you please tell which plugin do you use for the login or are you using custom login form for login page?
Please turn on Debug mode on and check Debug Log and share it here so we can help you out.

Wordpress admin login page inaccessible?

I get the following error when I try to access Wordpress admin login page of my client's site:
Sorry, your request cannot be accepted.
It opens for my client though. The client has not blocked my IP, or my country, then why is it happening?
Here is the wp-admin area. Does the page open for you?
Having a quick investigation, it looks like the issue is spawning from the plugin you have installed called IP Geo Block. https://wordpress.org/plugins/ip-geo-block/
I'd recommend disabling this plugin temporarily and attempting to login. If you're still having issues, it's worth creating a support ticket with that plugin maker.

Google Webmaster crewl server error

I have setup my website on google webmaster. As i was looking into Crwal errors i was few server errors and URL Errors.
URL Error(404):
I have a page like this /home/GetCitiesShow which. This page dosent have a physical link on my website, but i use that page as intermediate page. If i add that URL in address bar, site will display a custom page not found error which i have created.
This page show up in my google webmaster in URL Error section.
I have bunch of questions regarding this
1) How google crawled this page? Its dostn have a physical link or a physical page(.html or .asp) on site and its not in sitemap.xml.
2) IF i have maintain a custom page not found on page based on URL request , why its coming up as 404 Error on google webmaster?
3) Best practice for this error? Add it in robot.txt or handle error differently or just do something else?
There are many reasons that you are showing 404 error of some page that dones not even exit in you web sites
1. May be your domain was previously in used and already indexed in google
2. You used a theme that creates demo pages and those pages indexed automatically as Google bot always keep searching and indexing new pages in search.
Try search in google site:yourdomain.com to explore all indexed page of your domain/website
you can submit request to remove unwanted url through google webmaster/search console

Unable to "login" via twitter API

I have implemented a twitter login for my site, using a plugin called "Simple Twitter Connect".
Now what this plugin does is create a twitter login function for my site above the the comments section which allows users to use their twitter details rather than filling out name and email boxes.
Now the problem I am having with it is when it gets to the authorize page on twitter.com, after entering the details and then going back to the site it loads solicialize.gigaya.com page.
On the contents of the page it says
Failed connecting. Please try again later
I initially thought it must simply be something wrong with the plugin, however I have contacted the plugin author and he as said that gigya has nothing to do with his plugin nor does his plugin link to it.
I havent signed up to gigya nor implemented any of their functions on my site, so I'm not sure how this site gets into the equation.
If anyone wants to recreate the issue, the click here and login via twitter.
Can anyone suggest what the issue may be?
After the successful OAuth-Login you are redirected to the Callback URL associated with your Consumer key. The Callback URL can be configured - here's how you do it:
Log in to https://dev.twitter.com/apps
Select the application which you are using in your blog
Go to the "Settings" tab and you'll find the Callback URL under "Application Type"
Set the URL to your blog base directory (where the index.php is).

Resources