How to get "facebook.com/people/JohnDoe/123456789" url? - facebook

I was a looking at a few facebook pages, and I noticed a strange URL. The url follows the following format, https://www.facebook.com/people/JohnDoe/100063765427918/, like the url https://www.facebook.com/people/Akshita-Mudgal/100063765427918/
Does anybody have any idea how one get url with /people on facebook?

Related

'The message could not be posted to this Wall.' with custom url

I am trying to incorporate facebook's sharing feature into my site. I am generating the URL, but I get the 'The message could not be posted to this Wall.' error message on my attempt to share. Here is how the url looks like:
https://www.facebook.com/sharer/sharer.php?u=localhost%2F%23%2Fs%2F50f30a31065f90280c000002%2F51b9e958065f90800f000000%2F2
My guess is that as I am working on localhost facebook tries to validate my URL, because if I replace it with a valid URL I can share it.
Is there some rule that my link cannot be longer than a specific length?
Facebook has to be able to parse the URL you add as parameter, so it cannot be "localhost" but a real page with Open Graph tags on a real server.
See this page for information about the OG tags: http://ogp.me/

Facebook debugger response code 302

looks like that facebook scraper cant detect my page, it says that the
response code is : 302
and when I click to see what scraper sees from my URL link, it says:
Document returned no data
I already have all the og meta tags along canonical URL link working fine, I guess it must be some redirection issue since the response code indicate it. it's the same error on my homepage and other pages.
because of this, I cant share any content of my website via sharing a URL on facebook.
I'd appreciate any help, thanks.

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.

Facebook and Dynamic URLs

been having real issue with using comments and like buttons on pages like http://staging.bangstyle.com/haircut-detail/?uid=2139&img_id=15231
Facebook doesn't like the "?"
Is there a way to force the url on Facebook? I tried using HTTP URI to get the url but still the url shared on facebook stops at /haircut-detail/
Should i invest time on creating htaccess for these files or a different way that i havent tried. Permalinks and php http uri don't work.
Facebook has no problem using "?" in the URL.
I tried your url in the Facebook debugger https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fstaging.bangstyle.com%2Fhaircut-detail%2F%3Fuid%3D2139%26img_id%3D15231 it works but is picking up an issue with your head and/or meta tags
You have tags ouside of your . This is either because
your was malformed and they fell lower in the parse tree, or
you accidentally put your Open Graph tags in the wrong place. Either
way you need to fix it before the tags are usable.

Facebook comment/like url

Am having difficulty with the url for the facebook comment and like plugins. if I put in a simple url like "www.example.com" it works fine but my app is on a subdomain and uses querystrings to differentiate between different page states. So a sample url would be something like "facebook/example.com/index.php?id=001". However it appears facebook doesn't like this and keeps saying it is unreachable.
I can't believe facebook would limit the scope like this. Someone else must have encountered this. Any suggestions?
Facebook posts have an id something like 123456789012345_123456789012345.
The part prior to the underscore is the page id. The part after is the post id. The URL would be https://www.facebook.com/pageid/posts/postid, or https://www.facebook.com/123456789012345/posts/123456789012345.
Check your URL in Facebook's Debug Tool and this will show the tags Facebook is detecting on your page -in particular check your og:url tag isn't ommitting the URL parameters