Facebook API – How to get user’s address, phone #?
These attributes are specifically and intentionally not available via the API, for spam prevention reasons (maybe other reasons as well)…
These attributes are specifically and intentionally not available via the API, for spam prevention reasons (maybe other reasons as well)…
For the FB JavaScript SDK: FB.api(‘/me/permissions’, ‘delete’, function(response) { console.log(response); // true });
TL;DR set FB._https to true before calling FB.init. Like so: FB._https = true; FB.init({ /* your app id and stuff */ }); Explanation If you unminify the Facebook JavaScript SDK, you’ll see that its basically an object literal with a bunch of properties. One of these properties is _https, which is a boolean. This property … Read more
If you do overflow:hidden then keep in mind that it will also hide the comment box that comes up in XFBML version… after user likes it. So best if you do this… /* make the like button smaller */ .fb_edge_widget_with_comment iframe { width:47px !important; } /* but make the span that holds the comment box … Read more
This is by design. Once it was possible to fetch the latest status from a public page without access token. That was changed in order to block unidentified anonymous access to the API. You can get an access token for the application (if you don’t have a Facebook application set for your website – you … Read more
I don’t know if you ever found a solution, but I’m trying to do something similar and I’m still putting the pieces of the puzzle together. I had tried to post this as a comment instead of an answer, as I do not provide a real solution, but it’s too long. Apparently all of the … Read more
I had the same issue and eventually gave up. Facebook seems to have gone to great lengths to avoid letting us have any linebreaks in the description. The one thing you can do is add a &caption=first%20line which gets you one linebreak between the caption and the description. (There’s a pretty short limit on how … Read more
I believe this solution has become obsolete with the latest (6.0 and later) versions of Safari. Safari by default does not allow cookies to be set from third parties. This affects Facebook iframe applications because the user is accessing a page served from apps.facebook.com but the iframe is being served from yourdomain.com, the “third party” … Read more
I am Partner Engineer at Facebook so I thought I’d chime in here. The Facebook APIs will not give you the user ID of users who have liked a page or interest, this is to guard the privacy of those users.
There is currently no API for the hashtags feature on Facebook edit: there was however a public posts search function which will return some public posts with a certain hashtag if you use that hashtag as the search string in API version 1.0 – there is no equivalent in version 2.0 onwards It ignores the … Read more