Resolve function.getimagesize: failed to open stream: 403 Forbidden Error

If you are getting following error trying to get image size on your own server, you need to provide local directory path rather than website url. PHP Warning: function.getimagesize: failed to open stream: HTTP request failed! HTTP/1.1 403 ForbiddenPHP Warning: function.getimagesize: failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden Solution Get the path…

Facebook Graph API 3.1 – Requesting Extended Permissions for your Application

Facebook has added the app’s permissions to the user object, which can easily be accessed using Facebook Graph API and any specific permission is missing, you can request for it by redirecting user to the Facebook: $app_id =’App ID here’; $app_secret =’App Secret here’; $app_url =’App URL here’;   // Create our Application instance. $facebook…