I want to share title , image and description on facebook without javascript just by passing these to share.php of facebook. I got some code on this site in question Open source alternative to AddThis AddToAny, ShareThis etcfor Social Bookmarking and I have read the question how to pass custom parameter in facebook sharer link Now I want to combine
Tag: facebook
Facebook Graph API PHP SDK v4 – Post on Page
I wanna give all my website authors a possiblity to post their articles on our facebook page without having go give them admin access to it. So i created a simple form, where the author types in: URL, URL to image, message On submit, this form will send a ajax request to facebook.php where the magic “should” happen. The first
Facebook API php: check if username is set or not
In which way could I check if FaceBook profile username is set or not? Because I’ve created a FaceBook profile for do some tests, but it seems that no username is found from profile. this is my code: $…
facebook Sharer popup window
The FB sharer popup window displays the data of the page, not the metadata I have inserted in the php link. It seems the to be caused by the javascript How can I display the correct data in the popup window? Answer If you want to add custom metadata, use following code: UPDATE: I wrote a little JS code for
how to solve double quotes issue in facebook og title property
I have a simple open graph functionality on my facebook app and I post some dynamic text on facebook. Here is my code:
getimagesize and https
I am retrieving facebook album images from facebook.I have calculating the image size using the php function getimagesize.This function is working fine when the url is in http mode.When the facebook return the image url with https the getimagesize giving error.How i can calculate the imagesize of images with https extension using getimage size Answer You do not have the
how to integrate fFacebook login with your website?
I made some research and i can’t seem to completely understand how to integrate Facebook login with your website. I’m trying to do this for an old fashioned PHP shop that, up till now, doesn’t use any type of login, but only a session that allows users to browse across pages and add items to cart. I read here, on
facebook username validation regex pattern
i need a regex pattern to validate if a string is a valid facebook username? Answer According to this site…
Handling big user IDs returned by FQL in PHP
I’m using FQL to retrieve a list of users from Facebook. For consistency I get the result as JSON. This causes a problem – since the returned JSON encodes the user IDs as numbers, json_decode() …