Note that there are some explanatory texts on larger screens.

plurals
  1. POHow do you retrieve the "Place" field of a Facebook Graph Post object?
    text
    copied!<p>I am trying to retrieve the "Place" field of a Facebook Graph Post object from a Facebook friend. After obtaining an access token with the <code>friends_status</code> and <code>read_stream</code> permissions, I request from the Graph API like so:</p> <p><code>http://graph.facebook.com/[user_id]_[post_id]</code></p> <p>What is returned are some of the fields described in the <a href="http://developers.facebook.com/docs/reference/api/post/" rel="nofollow">Graph API docs for Post</a>:</p> <pre><code>{ "id": "1164358582_2458311174854", "from": { "name": "Joe Blo", "id": "1164358582" }, "message": "Is pretty bummed today", "actions": [ { "name": "Comment", "link": "http://www.facebook.com/1164358582/posts/2458311174854" }, { "name": "Like", "link": "http://www.facebook.com/1164358582/posts/2458311174854" } ], "type": "status", "application": { "name": "Facebook for Android", "id": "350685531721" }, "created_time": "2011-11-20T03:23:04+0000", "updated_time": "2011-11-20T12:12:49+0000", "comments": { "data": [ { "id": "1164358582_2458311174852_2962531", "from": { "name": "Sue Candy", "id": "1056617421" }, "message": "OMG I'm so sorry!!!", "created_time": "2011-11-20T03:25:06+0000" } ], "count": 1 } } </code></pre> <p>This is all fine and dandy, except for the fact that when I see this Post within my Facebook stream, it also shows a location accompanying the post:</p> <p><code>9 hours ago near El Reno, OK</code></p> <p>I expected the <code>El Reno, OK</code> Place object returned as a field within this Post, but I don't see it.</p> <p>In the Facebook Graph API Explorer, I've tried enabling almost every permission and I am not seeing any difference in the response (no "Place" field returned). Am I going about this incorrectly? </p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload