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 7218921
In Process

The Archive Base Latest Questions

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

I am retrieving the messaging inbox with the following graph api call: https://graph.facebook.com/me/inbox?access_token=… It

  • 0

I am retrieving the messaging inbox with the following graph api call:

https://graph.facebook.com/me/inbox?access_token=...

It returns an array of messages that each have an identifying “id” (same as message id as returned by FQL)

I would like to be able to provide a link for the user to view a message directly on Facebook.com.

Something like: https://www.facebook.com/messages/?action=read&tid=….

That is the link you get to if you you browse to a message from facebook itself.

However I can’t seem to find a way to discover the correct tid from either the Graph API or FQL.

I haven’t had any luck in figuring out an alternative URL either.

This url used to work, but is broken for me now: http://facebook.com/?sk=messages&tid=…

It just redirects to the top level messaging page: https://www.facebook.com/messages/

ANY IDEAS?

Thanks so much

  • 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:32:59+00:00Added an answer on May 28, 2026 at 9:32 pm

    From graph API get to me/inbox the result set gives id as part of each object returned. This is also thread_id.

    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

Retrieving the COM class factory for component with CLSID {B4E1B2EC-151B-11D2-926A-006008123235} failed due to the
Retrieving the COM class factory for component with CLSID {86A3FE22-515C-45BF-B489-07DEEB03E2D6} failed due to the
When retrieving data from MySQL, the PHP array output has both numeric and name
I am retrieving JSON using jQuery's getJSON call. My problem is that some of
I am retrieving the environment variables in win32 using GetEnvironmentStrings() . It returns a
Retrieving a list of network shares via Windows API functions NetShareEnum or WNetEnumResource takes
For retrieving image from blobstore, I usually do the following and it works: <img
Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the
I'm retrieving the elevation data from the Google Maps API by AJAX. I'm getting
I'm retrieving tweets trhough the Twitter Search API and keeping them in MySql database.

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.