Facebook OAuth “The domain of this URL isn’t included in the app’s domain”

In case someone comes across this and is looking for these settings (like I was) You have to On the left hand side, click “+Add Product” and select “Facebook Login” (it was at the top for me) See the new settings available on the left hand side You will now have these OAuth settings on … Read more

FB OpenGraph og:image not pulling images (possibly https?)

Some properties can have extra metadata attached to them. These are specified in the same way as other metadata with property and content, but the property will have extra : The og:image property has some optional structured properties: og:image:url – Identical to og:image. og:image:secure_url – An alternate url to use if the webpage requires HTTPS. … Read more

Facebook Graph API v2.0+ – /me/friends returns empty, or only friends who also use my application

In v2.0 of the Graph API, calling /me/friends returns the person’s friends who also use the app. In addition, in v2.0, you must request the user_friends permission from each user. user_friends is no longer included by default in every login. Each user must grant the user_friends permission in order to appear in the response to … Read more

How does Facebook Sharer select Images and other metadata when sharing my URL?

How do I tell Facebook which image to use when my page gets shared? Facebook has a set of open-graph meta tags that it looks at to decide which image to show. The keys one for the Facebook image are: <meta property=”og:image” content=”http://ia.media-imdb.com/rock.jpg”/> <meta property=”og:image:secure_url” content=”https://secure.example.com/ogp.jpg” /> and it should be present inside the <head></head> … Read more

Facebook Callback appends ‘#_=_’ to Return URL

via Facebook’s Platform Updates: Change in Session Redirect Behavior This week, we started adding a fragment #____=____ to the redirect_uri when this field is left blank. Please ensure that your app can handle this behavior. To prevent this, set the redirect_uri in your login url request like so: (using Facebook php-sdk) $facebook->getLoginUrl(array(‘redirect_uri’ => $_SERVER[‘SCRIPT_URI’],’scope’ => … Read more

What’s the shebang/hashbang (#!) in Facebook and new Twitter URLs for?

This technique is now deprecated. This used to tell Google how to index the page. https://developers.google.com/webmasters/ajax-crawling/ This technique has mostly been supplanted by the ability to use the JavaScript History API that was introduced alongside HTML5. For a URL like www.example.com/ajax.html#!key=value, Google will check the URL www.example.com/ajax.html?_escaped_fragment_=key=value to fetch a non-AJAX version of the contents.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)