6

Let's say I use Facebook mobile app and want to get a link for given post, but the app only gives me an opportunity to "copy link" which looks like the following: https://m.facebook.com/story.php?story_fbid=10153449192633553&id=19292868552

Is there a way to convert it somehow to a link pointing to a post on full Facebook website? I'm not looking for a certain tool necessarily. Some kind of algorithm will also be fine.

3
  • Just take the "m." from the URL?
    – ale
    Feb 29, 2016 at 15:56
  • Have you tried it yourself? It does not work. Shows some 404-like error.
    – Luke
    Feb 29, 2016 at 16:38
  • Nope. It was a guess. Note that it was a comment, not an answer. And the question mark.
    – ale
    Feb 29, 2016 at 16:47

3 Answers 3

7

It's not very intuitive but it's possible.

You'd go to this Facebook page. You'll need to be logged in.

In the graph API form field you'll enter

select permalink from stream where post_id='19292868552_10153449192633553'

Notice it's the reverse of the elements in your original mobile URL. story_fbid=10153449192633553&id=19292868552

After you run it, you'll get https://www.facebook.com/FacebookforDevelopers/posts/10153449192633553

which is the URL to the non-mobile version of the page.

1
  • 3
    You can append your answer to state that you can just do https://www.facebook.com/19292868552/posts/10153449192633553
    – phwd
    Mar 1, 2016 at 15:22
3

remove the m. and swap the graph ids like this:

https://m.facebook.com/story.php?story_fbid=__PID__&id=__UID__

https://facebook.com/__UID__/posts/__PID__
0

I found out there is an easier way than suggested in every other answer. It seems that "fbid" is a global identifier in Facebook. Using just it, one can access content it is pointing to like this: facebook.com/{fbid}, for example:

m.facebook.com/story.php?story_fbid=10157028479758918&id=6344818917

becomes

facebook.com/10157028479758918 (then the redirect follows)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.