Facebook link to my redirect page opens to error 404 page on desktop but not mobile - facebook

Our company has a page on the website for a new podcast. Each episode has a unique URL. In the podcast, however, the host simplifies directing people to the relevant page by simply giving our website URL and /X (where X is the episode number).
What we've done is set up a redirect for each episode to the actual show page URL.
For instance: https://www.eliteinc.com/show/episode-1-the-power-of-day-one/
If you go to www.eliteinc.com/1 you will be taken to the correct episode page.
Here's the problem in Facebook.
When I place the www.eliteinc.com/1 link in Facebook, the preview generates just fine and if you click on the link in the post text it works.
However, if I click on the link preview that is generated, it takes me to an error 404 page:
https://www.eliteinc.com/1?fbclid=IwAR1rL41HqlLGG82vJ9bpUCV1KOKG_f3XXhEvnxk5j4vN6U0z5gJhxuOThRI
The link does open correctly on mobile.

Related

Facebook share change link text

When adding a share button to my site as follows:
https://www.facebook.com/sharer/sharer.php?u=http://www.domain.de/christmas-gewinnspiel
When I click the button, it takes me to facebook and the the post to wall page, but the link text says "www.domain.de" although the URL of that link is correct ie. (http://www.domain.de/christmas-gewinnspiel), how can I change the the link text?
The page url is giving a 404 response. I think showing the basic domain is the standard behaviour for sharing, the link itself (if you'd click on it) is the correct one, but giving a 404 as described.
Also, think about adding the OpenGraph meta tags to make the shared info look nicer:
https://developers.facebook.com/docs/reference/opengraph/object-type/website/

Facebook Share Button Creates Stories with link "via" my FB app URL - change to website URL

I don't have 10 reputation points yet, so can't embed image, sorry. Please see the image that can help clarify, right away, what's wrong: http://i.stack.imgur.com/b6BbO.png
I am having issues integrating Facebook buttons on my site. I have created a FB app to use with the integration - my like button (see http://soundsviral.com/2014/02/13/tennis-court-by-lorde-45/) is working just like I want it to. However, the share button next to it returns a story like you see above. The real disconcerting piece is that the link for the "Sounds Viral" name (which is the name of the app here, not the site) links to the app itself, which I don't want users to visit at all.) How can I change this URL to be my homepage (or the link in the post below, if that's preferable?)
I also which I could change "link" here to be "song", which is a supported og:type and is in use for my "like" button. However, for the "share" button, it just says "link". But that's less important to me than the actual URL in the story.
Thanks for any ideas!
The solution is to set your facebook app to be a website app that directs facebook users to your website.
To do this:
go to you app page
go to Settings
click Add Platform button
Select Website option
Enter URL of your website and save

Facebook - Wordpress App Error Facebook returned an error: The site URL in your Facebook application settings does not match your wordpress blog URL

I have a wordpress blog and am trying to integrate the facebook page publish version 2 app and keep getting 2 errors, one of WP:
Facebook returned an error: The site URL in your Facebook application settings does not match your wordpress blog URL
And on FB app creator when putting in the app domain:
This must be derived from Canvas URL, Secure Canvas URL, Site URL, Mobile Site URL, Page Tab URL or Secure Page Tab URL. Check and correct the following domains: mywpsite.com
I have not used any http:// just the domain name.
I updated to v2 of facebook plugin, deleted the old version 1, made sure my domain name didn't have upper case, deleted the app in FB and started again and still I get this error.
When I put in the app id into wp plugin the grant access rights button stays grayed out as well, imagine that's because the app is still not set up correctly.
Any help on why I keep getting these errors would be very useful.
Thanks
Andrew
Click the '+Add Platform' box below and depending on the app you want to add, in this case I assume click 'Website', and then add the website's URL to Site URL. This will now allow you to save the URL properly.

Feed Dialog Garbling My Passed Referral Link Only When Post Image is Clicked?

I run a site that allows registered site members to refer people back to my site using their referral link
(EX: http://www.mygreatsite.com/home?ref=MaxP)
Recently I coded into my site an implementation of the "Direct URL Example" (https://developers.facebook.com/docs/reference/dialogs/feed/) in order to enable my site members to post to their timeline a post which describes my site and includes their own referral link back to my site within the code.
Everything is working fine when a prospective site referral viewing the resulting post clicks upon the post link text (the get sent to a properly formatted referral link as planned - "http://www.mygreatsite.com/home?ref=MaxP"
The problem I'm having is that in the same post if the prospective site referral clicks upon the image then the referral link get's garbled like this "http://www.mygreatsite.com/home?ref=nf" which is a totally invalid referral link that has nothing to do with what link it should be sending them to ("http://www.mygreatsite.com/home?ref=MaxP")
Why is facebook erroneously arbitrarily replacing the proper referrer "MaxP" with "NF" only when clicking upon the image of the post? What does NF mean and why is it there?
Here is the URL that my code is passing to facebook (site url, app id, and name replaced to protect my privacy):
https://www.facebook.com/dialog/feed?app_id=161070640444808&link=http://www.mygreatsite.com/home?ref=MaxP&picture=http://www.mygreatsite.com/images/banners/9.jpg&name=mygreatsite.com%20Ultra-High%20Payout%20site&caption=Paying%20DAILY%20to%20virtual%20points&description=%20%20is%20an%20ultra-high%20paying%20get%20paid%20to%20%28site%29%20site&redirect_uri=http://www.mygreatsite.com/members/refer.php
Thank you.
The problem I'm having is that in the same post if the prospective site referral clicks upon the image then the referral link get's garbled like this "http://www.mygreatsite.com/home?ref=nf" which is a totally invalid referral link that has nothing to do with what link it should be sending them to ("http://www.mygreatsite.com/home?ref=MaxP")
ref=nf is a Facebook parameter for tracking where the link click came from/occurred (in this case nf = news feed).
I think Facebook just overwrites any pre-existing URL parameter of that very name by it’s own – so I’d suggest naming your own parameter something different, that does definitively not get used by Facebook, for example myRef=MaxP.
You will still get the ref param from Facebook, but it should result in an URL like …/home?myRef=MaxP&ref=nf, so that you’d still be able to read your own referral value from it as myRef. (In theory; haven’t tested this myself yet – please let us know the result ;-))

Facebook share image or favicon not showing from GAE app redirected link

I have a website hosted on GAE but I use my own domain name have it redirect to my-app.appspot.com. When I facebook share this link, I can't see any image associated with it but when I use share the direct my-app.appspot.com link it works fine..
Same thing with the favicon, the small icon on the tab in the browser doesn't show when I use the link the redirects to my app!
You have 2 problems in one ;-)
The favicon issue is related to caching in the browser.
If you see the favicon on one page myapp.appspot.com and not on www.example.com which redirect to myapp.appspot.com, it is also a problem with cachine
Of course, you can clear your browser's cache (see preferences/options menu)
but a sure way is to open the same page with another browser.
Share button
Look at what facebook see at
http://developers.facebook.com/tools/debug
enter your domain
This information is fetched once every 7 days (i.e if you correct your html correctly you will have to force the open graph to update)
For the correct info to appear in the facebook debug tool, you need to
1/ configure your button
2/ enter the open graph tags in the header.
Because you are redirecting your www.example.com domain to your appspot website, if you look at the html you will see that your appspot is included in a html tag. In other words, the html header are NOT the one from your GAE template, but rather from the redirect wrapper.
To make all of this work, use the appspot URL in the FB button code and the open graph tags.
http://developers.connect.facebook.com/docs/reference/plugins/like/
The Open graph tags represents only the content of your FB object.
The code of your FB button is key to query the open graph.
The 2 URLs must be the same! (well, the same until you fully understand how to populate AND query the open graph !)