Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7218195
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T21:27:05+00:00 2026-05-28T21:27:05+00:00

There is How can I construct a link to view a message on facebook.com

  • 0

There is How can I construct a link to view a message on facebook.com if I have the message id question, but it is unanswered. What if I got the id of the thread using /me/inbox API endpoint and need to redirect user to the Facebook itself showing this thread? How do I construct the URL. There seem to be URLs like http://www.facebook.com/messages/?action=read&tid=id.143666952390138 where thread id is the number in the end. But there are also some stranger URLs like http://www.facebook.com/messages/?action=read&tid=27726d81656e4c07ae5654116cccb724 where the previous rule doesn’t work.
Is there any solution to getting thread URL using Graph API or FQL?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T21:27:05+00:00Added an answer on May 28, 2026 at 9:27 pm

    If the id you have is a string object (probably a guid), this is from Facebook’s older message system storage structure. Now they’ve updated to a new storage structure that requires the old ones to be migrated into the new

    So you have a fairly easy check:

    If thread id is a long (Int64/BigInt), then you have a new thread and can use
    http://www.facebook.com/messages/?action=read&tid=id.THREAD_ID

    If thread id is a string then you have a older thread and can use

    http://www.facebook.com/messages/?action=read&tid=THREAD_ID

    many programming languages have their own form of checking the type of a value.

    var threadId = (string)data.thread_id;
    var longVal = 0L;    
    var isLong = Int64.TryParse(threadId, out longVal);
    var threadUrl = (isLong) ? 
      "http://www.facebook.com/messages/?action=read&tid=id." + threadId :
      "http://www.facebook.com/messages/?action=read&tid=" + threadId;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have simple question about MVC routing. How i can construct Html.ActionLink thhat generates
Is there any way I can construct an new object from the given object
I know that there can be multiple values for an email, but I'm not
If I have a parent table and a child table where there can be
I have Table1 and Table2 related on Table1.ID. There can be zero or more
I have this question on the Wordpress stack exchange as well, but not having
Using LINQ-to-Entities 4.0, is there a correct pattern or construct for safely implementing if
Is there a simple attribute or data contract that I can assign to a
I hope someone out there can shed some light on the topic of creating
I'm just wondering if there can be a case where the hostname can be

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.