share goo.gl url of 404 randomly generated facebook - facebook

I have a problem on random URLs hit on Faceboook account.
After posting a note on http://www.soycarmin.com/, generated a short url with 'google url shortener' and then stick it on the wall account https://www.facebook.com/pages/Soy-Carmín/1394963147496673
The problem I have is that occasionally brings this url 404.
If the url income I get from goo.gl, it directs me to the site properly ''m carmine' and if I look at the fields 'open graph' these are correctly added.
This causes occasionally have to be debugged my url to share properly.
Could someone help me with this situation?

Related

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 ;-))

Why does facebook change the url when I click on a link?

Suppose that I click on a facebook link -- once clicked, the URL is transformed to this:
http://www.facebook.com/l.php?u=http%3A%2F%2Fapple.stackexchange.com%2Fquestions%2F398%2Fhow-do-i-build-apps-to-my-jailbroken-ipad&h=uAQFM5WKt
And then I'm redirected to the URL I thought I was going to. Why does facebook do this?
Facebook keeps track of all the links fired from its website. It saves the url you provided as link.
First it forwards you to a facebook link where it saves the url and then it redirects to the actual url.
This way facebook knows which urls are getting most hits.
FYI, Even google does it.

Facebook debug tool giving Bad Response Code (redirect) for my site

Today, I tried to post a link from my website on my wall, but no OG meta information was fetched. Therefore, I went on to Facebook URL Linter to check things for myself and see if OG meta tags are fetched properly.
To my surprise, every link on my website including the domain itself, generated Response code: 302.
My OG tags are well set and they were working fine a few days ago. Following is what the debugger shows for my domain : http://www.price-tag.org
Response Code: 302
Fetched URL: http://price-tag.org/
Canonical URL: http://price-tag.org/
Final URL: http://price-tag.org/WpjZW/
For every page from my website, facebook linter is adding an arbitrary string like above WpjZW.
Please let me know if this is a facebook error or something has gone wrong at my end.
It seems the linter is being sent on a circular redirect loop. It is seeing a 302 redirect.
For http://www.price-tag.org I don't see anything but a 200 response code when I navigate to your website using Firefox.
However, if I remove the www from the url and go to http://price-tag.org, I do see the strange behaviour of the 302s and then a random url like http://price-tag.org/UKXRN/
I would suggest you contact your server admin or web master to see what they have in place that is doing this 302 redirect and strange url characters.

Feed dialog to event/fan page says "Sorry, something went wrong." after clicking share

Having some issues with the feed dialog when attempting to post to a event or fan page. In my application I am using the JS API and FB.ui using the method feed.
But for a demonstration you can do it using the feed url too for example:
http://www.facebook.com/dialog/feed?app_id=131727613511269&to=287203454659917&redirect_uri=http://www.timeanddate.com/
After clicking share you get the:
Sorry, something went wrong.
We're working on getting this fixed as soon as we can.
Where:
app_id = your app
to = a event / fan page
redirect_uri = a url you are allowed to redirect to
note that the app has publish_stream permissions. (it also has manage_pages for fan pages)
The app in question by the way is: http://apps.facebook.com/tndcountdown/
Thanks,
Andy
EDIT:
An Example taken straight from the documentation:
http://www.facebook.com/dialog/feed?app_id=123050457758183&link=http://developers.facebook.com/docs/reference/dialogs/&picture=http://fbrell.com/f8.jpg&name=Facebook%20Dialogs&caption=Reference%20Documentation&description=Using%20Dialogs%20to%20interact%20with%20users.&message=Facebook%20Dialogs%20are%20so%20easy!&redirect_uri=http://www.example.com/response&to=287203454659917
just replace to=287203454659917 with an event.. (make a test one like it did there)
A few issues I've run into will dialog is that Facebook tries to fill in any missing data. So if you don't provide a description and caption, Facebook will try to scrape the page to get that content. Depending on how the page responds to the "scraping" Facebook will error out. I always make sure I include at least a space for those fields.
It seems the feed url you provided is similar to what is in the documentation. But the demo in the documentation has extra parameters.
I'm about to add page support to my Facebook app, which does the same thing as yours.
http://apps.facebook.com/countdown-timer/
As I posted here - Facebook Send Button - 'Sorry, something went wrong.'...
I had the same problem & worked out that this was due to linking to a Facebook page that did not have a vanity URL set up (i.e. http://www.facebook.com/CubicMushroom rather than http://www.facebook.com/profile.php?id=261963707177053). If you set up a vanity URL for the page it seems to work OK (providing you link to the vanity URL version of the page URL).
To claim a vanity URL, once you have a certain no of like (it used to be 25, but think it's a little lower now) visit https://www.facebook.com/username/

Facebook Share button returning error

Example url:
http://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fwww.rugbydump.com%2F2011%2F09%2F2124%2Frugby-world-cup-daily-tonga-beat-japan&src=sp
That's what's generated by the Share JS. If you visit the link (after decoding):
[...].com/2011/09/2124/rugby-world-cup-daily-tonga-beat-japan
You can view source and see open graph meta tags.
If the share url is changed to:
[...].com%2F2011%2F09%2F2124%2Frugby-world-cup-daily-tonga-beat-japan2&src=sp
(Adding a 2 to the end of the url) the result is fine. Likewise with other posts:
http://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fwww.rugbydump.com%2F2011%2F09%2F2119%2Frugby-world-cup-daily-christchurch-revisted&src=sp
So all I'm getting is "Error" with no way of knowing what went wrong.
Any insight would be great. A thought was that the url was flagged or banned by FB but no way to tell.
[...] is used cause I can't use more than 2 urls.
I re-linted your URL in the Facebook developer debug page:
http://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fwww.rugbydump.com%2F2011%2F09%2F2124%2Frugby-world-cup-daily-tonga-beat-japan%2F
and it appears to work fine now. Facebook caches the data obtained from a page, so it's likely they hit your page during a period in which it had an error message instead of the usual contents.