fblike api of facebook - facebook-graph-api

hi i am using fblike api of facebook. this is working fine. i am using this script
when i open this page a text "fblike"and facebook icon are showing.but when i click on this a popup window opens and asking for login on facebook.
my question is that when user like this page the text which is display previously "fblike" change to "1 person".
can i stop this. i just want when user like this the texe should not be change.
I can do this or not?

Short Answer: You cant do that... :)
But you can achieve this by adjusting height and width of STANDARD LIKE BUTTON which will hide other part of that plugin (users, counter, etc) :)

Related

Not able to fully see "Create Credentials" page on Google Console?

As the title says, I'm not able to fully view the Create Credentials page on Google Console. It is being blocked by the hamburger menu on the left.
Here's how it looks. Any help would be appreciated!
Move your mouse button screen from the API page or else click on the right side page then it will show the full page. This is just scrolling issue.
Eg : Below is the image shown the same as your issue.
I have checked in my console, able to see the full page and also able to create the keys.
If there are any other issues, do post your question clearly.

Allow user to select friend(s) from a dialog that lists all of the user's friends, and post on their wall using Javascript Facebook SDK

I would like to have a button in my Facebook app that will bring up a dialog that will allow the user to pick a friend's wall to post on. I was pretty sure this kind of dialog exists but so fare I have only been able to find a dialog that will allow you to send messages to a friend or post to a specific Facebook user's wall (without a dialog) but I cannot find anywhere in the documentation where it describes how to bring up a dialog that allows selection of user's to publish to. Is this possible? If so could someone post a link to some documentation?
You can use Facebook's Multi-Friend-Selector(MFS).
Documentation: https://developers.facebook.com/docs/guides/games/custom-muti-friend-selector/
I ended up using the thesedays Facebook-friend-selector which works very nicely.
It has a Facebook style look and feel and filled my needs:
https://github.com/thesedays/Facebook-friend-selector

Facebook Like Button for Facebook Page for Blog

I just created a Facebook page for my blog and am working on adding the like button. I suppose my first question is, is there already a like button added to a Facebook fan page itself and the code for the like button is so you can create a like button on a whole different page, like my Blogspot blog page? Since I'm the admin I'm not sure if I'm seeing whatever else is. If not, I'd like to add a like button to my Facebook page for people to like, but for the life of my cannot figure out where to paste the code. I know it says behind the tag, but that doesn't mean anything to me. Please help.
http://developers.facebook.com/docs/plugins/
On the Facebook page is a like button of course already integrated, on that page you can get code for your Blog or website.
Specifically, you're looking for this plugin:
https://developers.facebook.com/docs/reference/plugins/like/
Specify the URL you want the like button to like, whether that be your blog post or your facebook page.
You are looking for the facebook Like Box.
https://developers.facebook.com/docs/reference/plugins/like-box/

What's the difference between the Like button with or without Open Graph META tags?

I have a very basic website with the potential for having hundreds of pages, and would like to have a the Facebook Like button on each one.
However, before I do it, I would like to know the difference between inserting the Like button with, or WITHOUT using Open Graph META tags.
I don't want each page that visitors 'Like' to become their own Facebook pages, but I WOULD like their 'Like' to show up on their wall so their friends can see it.
Is the only real reason for using Open Graph to specify what exactly it is that you want to show up in the message and 'Like' post?? (example: 'Dave likes The Rock - IMDB' with a picture of the movie and a description underneath.)
#Vali What you are suggesting:-
Including Open Graph tags on your Web page, makes your page equivalent to a Facebook Page. This means when a user clicks a Like button on your page, a connection is made between your page and the user. Your page will appear in the "Likes and Interests" section of the user's profile, and you have the ability to publish updates to the user.
is not possible. Kindly see my similar question:
Convert my Site to Facebook Graph Object
As you said you can add a Like button without OpenGraph. That's the easy way and with that you don't have any future connection with the person who liked your link/page.
Including Open Graph tags on your Web page, makes your page equivalent to a Facebook Page. This means when a user clicks a Like button on your page, a connection is made between your page and the user. Your page will appear in the "Likes and Interests" section of the user's profile, and you have the ability to publish updates to the user.
Using Open Graph you have a greater control on what you want to appear on that person's wall.
Open Graph is still beta. If you want to use OpenGraph you need to create a FB app, get the APP ID and add it to your webpage. If you want to use the simple Like button, you just add the fb:like tag and that's all.
don't want each page that visitors 'Like' to become their own Facebook pages
This will not happen. You're the single admin of your page.
Is the only real reason for using Open Graph to specify what exactly it is that you want to show up in the message and 'Like' post??
Yes, you can do this with Open Graph. I suggest using Open Graph if you want to post enhanced wall posts and if you want to get connected with the users who likes your page.

It's possible to open getLoginUrl inside facebook page iframe?

I tried to open it inside facebook iframe but it show a pic of facebook and when i click on this pic it redirect to a new window, i rly need to open it inside iframe.
thanks.
not possible according to this:
http://bugs.developers.facebook.net/show_bug.cgi?id=19838
This is intentional behaviour as the Auth dialog cannot be loaded in anything
other than Page or Popup mode. This is to protect the user experience - the
Permissions dialog needs to retain special security.