i Want to display facebook page discussions on my custom PHP page is it possible.
Take a look at Facebook's Social Plugins:
http://developers.facebook.com/plugins
The ones that you most probably want are Like Box (displays updates from your Facebook Page) and Live Stream (real-time discussion on events by users on your site's page).
Related
We want to manage a facebook page using php/mysql and php-facebook-sdk, we have a site with the sections below: About Us , Services, Projects, Contact Us.Each section contains data. We want to add programmatically a tabs sections called About Us , Services, Projects, Contact Us in the Facebook page related included a links to the site. We understand the creation of application on Facebook first, but the question is how proceed to use the facebook php-sdk or api's(graph api) related to do that? or any tutorials exist for this reason?how proceed to add new tabs with titles, and add data using php/mysql with this data?
We want to do exactly like the tabs in the page below:
https://www.facebook.com/doreuk
(About Dore, Contact us,....)
Thank you for your suggestions...
A facebook tab is a page on your (own) server framed in by facebook. So create a html page, make it available under http and https. Next follow the instruction in this tutorial:
https://developers.facebook.com/docs/appsonfacebook/pagetabs/
create your page
create a new app developers.facebook.com
choose page tab
install your app by visting: https://www.facebook.com/dialog/pagetab?app_id=YOUR_APP_ID&next=YOUR_URL
You don't need to use the facebook php-sdk or api's(graph api) to do this!
I'm trying to figure out why Facebook is creating fragmentation with its pages. I really don't understand it. Also is there anything that can be done about this.
Here is a perfect example I have my Facebook company page for "Scoreoid" (http://www.facebook.com/pages/Scoreoid/245182948843019) this has my content wall post's, photos ect..
Then I have this page which I guess is only connected to the Scoreoid website which is new and was automatically done http://www.facebook.com/pages/Scoreoid-the-ultimate-game-platform-for-developers/269861406410210
This is the page for the Scoreoid site which has 130 likes but of course on Facebook it only shows 15 another question either way why is there two pages why can't everything be connected to one page.
All this does is create fragmentation which is noting but bad user experiences.
It would max sense to have everything directed to the Facebook main page. Of course I have other questions for which do I run advertising on which should I update with content?
I've already answered you here two weeks ago:
Facebook Likes not showing on Facebook page but show up on site
Facebook pages like counts are NOT THE SAME as like counts for a web site. They cannot be joined by Facebook as they are two separate IDs. You can have your parsing scripts add together the two like counts yourself.
This has been my experience. If you add the open graph meta tags (og:url, og:image, og:type, etc.) Facebook will create a "facebook page", but this page will only be accessable by you. This is the message that facebook will show on this open graph page: http://snag.gy/z9UfG.jpg
If besides this you create another page then it will not be linked with this page. I recommend you use the page you created as that page is accessible by everyone.
If this is not your case then please clarify.
I am looking to add social icons to our site, giving customers the ability to "like", tweet and share content on their facebook and twitter profiles. I have noticed to the left of this box, the facebook and twitter icons do exactly what I am trying to accomplish but I am not familiar with how to do this. Looking at the source code, there are JS references to:
<script type="text/javascript">
StackExchange.ready(function() {
var shareUrl = "http%3a%2f%2fstackoverflow.com%2fq%2f7505636%2f337690";
var shareMsg = "Advice+integrating+Facebook+%27share%27+and+link%2fimage+capabilities+with+our+site";
StackExchange.share.facebook($("#fb-share-7505636"), shareUrl, shareMsg);
StackExchange.share.twitter($("#twitter-share-7505636"), shareUrl, shareMsg);
});
</script>
Our site works this way: While anybody can visit the primary site at any time, individuals can sign up as representatives with their own unique URL that acts as a referrer to give 'credit' on rewards. I have reviewed the facebook developer site and to be honest I am slightly overwhelmed. I want to give our members the ability to click a Facebook icon from within their dashboard, prompting them to post on their wall with a set image, set title, and description. I have read in the documentation this is done by setting meta tags in the head but it does not seem to matter for my site (or I am clearly doing it wrong).
What if the URL facebook is looking for (share URL) is behind a password protected page or an area of the site which would not allow content based on a missing PHP SESSION variable?
Edit
I have also seen a lot on the net which says I have to integrate the Facebook JS SDK but then goes on to talk about authentication/permission to write on walls, etc. Yes the link to the left does not ask for permission to do anything other than to 1) log into the FB account, 2) post on the user's wall.
This site is a perfect example
The link above is great but it assumes I need to authorize a 'share' which does not occur on this site.
When you click on the share button, you call a script on facebook.com that will then in turn access the page pointed to in the querystring (?u=xxxxxx).
Facebook will parse that page and grab the first few images it finds, a description and title from the page. That is what it shows to you and allows you to add some additional text (as well as edit the title/description/and choose different images).
If that page contains the specific meta tags that facebook asks you to add to the page, then they'll use those to populate the title/description/image. This allows the webpage author to control how their page shows up in a facebook feed (although the user could still edit it before posting). These meta tags would need to be in that particular page to be used by facebook.
If facebook cannot access the page because it's password protected, etc. - then it cannot parse the meta tags and will then just show the user the URL as the title with no description and thumbnail.
I want a facebook fan page with something like this:
With new design/theme, matching to my new website (orange/black)
Custom Logo/contents display
30 boxes short description, on mouse hover, get some highlight for box and on click of specific box, opens a new pop-up
pop-up should contain more detailed description and a link to specific page on my website
I think above things are achievable using FBML but any good ref/guide would be appreciated to help me quickly develop such a thing.
FBML is being deprecated by Facebook. You can create an iframe application instead. In an iframe you can basiclly do anything you like. As for themeing the page, you can't touch the facebook design. You can only control the contents of the iframe itself. You can however upload an image for the "profile picture".
Here is a guide for iframe apps for your reference:
http://www.hyperarts.com/blog/adding-iframe-application-to-facebook-fan-page/
Here is the reference site where you find the full demonstration of custom FB fan page.
You can achieve that using fb api.
http://www.kimwoodbridge.com/how-to-create-a-custom-facebook-fan-page/
http://blog.theunical.com/facebook-integration/simple-steps-to-publish-on-facebook-fan-page-using-php/
http://www.webdigi.co.uk/blog/2010/creating-a-custom-facebook-page/
I would like to show the following links (I think they are called badges) on my homepage.
Assume my website is called 'abc'
An image saying 'abc' on FaceBook, become a fan (and display a set of random pictures of some of my members)
A 'follow us' on twitter link
Ability to publish changes to my site (e.g. new news etc) to Twitter
An example of this can be seen on startups.com
I am using PHP for development - I would like to learn how to put the Facebook and Twitter links on my homepage.
Facebook Fan Box is exactly what you're talking about
Most people just link a promo image to their Twitter profile. Some free ones here that I've seen a couple sites use.
do you want to automatically Tweet out new posts? Are you using any kind of CMS for which a plugin might be available? Otherwise there are a ton of PHP Twitter libraries out there you can hook into the publish action on your site (assuming you have a custom CMS of some kind). Or if you have an RSS feed setup, you can have Twitterfeed Tweet it out.
If you just want visitors to be able to easily Tweet out your links, Tweetmeme (among lots of others, but it's the service I'm most familiar with) has a nice Retweet button.