Find Facebook user (url to profile page) by known email address

The definitive answer to this is from Facebook themselves. In post today at https://developers.facebook.com/bugs/335452696581712 a Facebook dev says The ability to pass in an e-mail address into the “user” search type was removed on July 10, 2013. This search type only returns results that match a user’s name (including alternate name). So, alas, the simple … Read more

How do I set og:image so it takes image from page?

You are going to gave to add some custom og:tags to the HTML markup of your page and specify the image that you want to use… Take a look at the example from the Facebook documentation – <html xmlns=”http://www.w3.org/1999/xhtml” xmlns:og=”http://ogp.me/ns#” xmlns:fb=”https://www.facebook.com/2008/fbml”> <head> <title>The Rock (1996)</title> <meta property=”og:title” content=”The Rock”/> <meta property=”og:type” content=”movie”/> <meta property=”og:url” content=”http://www.imdb.com/title/tt0117500/”/> … Read more

Facebook Open Graph API Examples – How to get the access token?

As long as you only want to test… Use the Graph API Explorer to generate a token with the permissions you want. Don’t hesitate to select all of them. Then, just copy/paste the token at the end of each graph.facebook.com URL. For instance: https://graph.facebook.com/v1.0/me/friends?access_token=<ACCESS_TOKEN> The day you want to get the access taken for an … Read more

How can I query public facebook events by location/city?

Updated 2014-07-02 You can’t directly search the Facebook API for events near a location. Since originally giving this answer, the Graph API has made it harder to search for events. The Elmcity script referenced by the OP does a simple search for a keyword in the event title. Try “Lancaster” for example. You’ll get events … Read more

Facebook Graph API – How do you retrieve the different size photos from an album?

Facebook provides a type option for the picture field, for example, you can specify something like: <img src=”https://graph.facebook.com/xxx/picture?access_token=yyy&type=normal /> where the type parameter can be one of square, small, normal, or large for profile pictures or thumbnail, normal, album for album pictures. Source: http://developers.facebook.com/docs/reference/api/user/ (under Connections section) Edit: Added different options for album pictures