5

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.

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

  • 3
    You can append your answer to state that you can just do https://www.facebook.com/19292868552/posts/10153449192633553 – phwd Mar 1 '16 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__

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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