I want to have a link to my facebook page from my blog - html

Every time I try to embed code that was recommended by another user, I get the same message: Could not retrieve id for the specified page. Please verify correct href was passed in.
All I want is something on my page that a reader can click to take them to my Facebook page. What am I doing wrong?

You can create a personal username for your account on facebook, check Facebook Usernames general information, creating a username will provide you with a custom url something like
www.facebook.com/YOURUSERNAMEHERE
you can easily add this to your blog by using the following html
Follow me on facebook

It would also be helpful if you post the code that you're trying to use currently, otherwise no one has any idea what you're trying to do.
If you just want a link in HTML to your facebook page, put this into your page:
My Facebook Page
The section that goes within the quotes should be the URL you see when you navigate to your Facebook page.

Are you talking about a Page or Profile?
For Pages, the Like Box plugin is probably the best option, and lets people like the Page right from your website: https://developers.facebook.com/docs/reference/plugins/like-box/
For your own Profile, there's Badges ( https://www.facebook.com/badges/ ) which you can use
If it's your own Profile and you want people to Subscribe to you ('Follow') - there's a subscribe button you can use for this: https://developers.facebook.com/docs/reference/plugins/subscribe/

i dont know why, but for some reason, you have to include the http:// before the link

Related

Linking to iframe pages

Is possible to link on sub page that is in iFrame?
So basically:
On www.domain.com/page I have just normal HTML page. And on that page I have iFrame where I get the content from www.anotherdomain.com.
Now on anotherdomain.com I have several subpages likes this:
www.anotherdomain.com/spage1
www.anotherdomain.com/spage2
etc.
Now the question is that is it possible to somehow link to one of these frames so that when user uses this link, it would go on one of these subpages. For example like this:
www.domain.com/page#spage2
so that then the www.domain.com/page would show on iframe the content from the page www.anotherdomain.com/spage1
If I have understood correctly, this is not possible but I just need some confirmation on this :)
Sorry for bad explanation. Ask more info if you didn't understand what Im trying to explain.
If I understand what you are asking for correctly:
When a visitor goes to domain.com/page#spage2 you want them to see a url of: www.domain.com/page with the content of anotherdomain.com/spage2
If this is correct, I don't think you can do this with just HTML. You would need either regex in a .htaccess file or with PHP taking advantage of the $_SERVER["PHP_SELF"] call.

Direct link or html code to get facebook likes by cliking in a picture

I need a method to get likes for my facebook page directly by cliking on a picture
I mean when a visitor of my website click in a specific picture he automaticaly likes my page
with facebook social plugin I got this link but it doesn't make you liking the page automaticaly you need to click the like button and confirm
I don't know how to get that link or html code , "I visited a website uses this method"
I hope you can help me
I researched this as well but I can confirm you that, since this could be easily abused to mislead the client and obtain a load of likes, it is not possible in an official, Facebook-approved way.

facebook comments box plugin does not have view xx comments in website posts

I'm a beginner in facebook.
I try to add the facebook comments box to each of my blog post, i limit it to show 2 comments from the plugins, from the facebook comments box plugin site, they set the url to example.com and it show a whole different UI from what i got.
More importantly, there is no view XX comments after 2nd comment, even i added 20 comments to it.
May i know how can i solve it? is it some setting that i need to set in my facebook app or use the graph api, i know that i can get the json from the facebook graph site as mentioned in the facebook blog developers.facebook.com/blog/post/490/
if i need to solve using json way, how do i append the remaining comments inside the website where it is using iframe.
i wish to have a easier solution like just changing setting inside my facebook app, rather than code an "View xx comments" button to do ajax call and append the result to the dom myself.

Pull wall post from Facebook to external site?

Using a permalink for a particular post, I would like that post to be displayed in its entirety within an iframe or a div tag. That is: likes, comments and shares and the Fb format for a post would all be displayed on an external site. Thus, a wall-post like this one https://www.facebook.com/cnn/posts/200591363341827 would appear exactly as is, except within my site.
This doesn't exist as a plug in. You would need to write something yourself to pull all the data you want, and then display it on your page.
Do you mean a div that represents a wall post and comments that relate to the topic at a URL link?
Refer to:
https://developers.facebook.com/docs/reference/plugins/comments/
Also, look up other stuff that relates to social plugins at: https://developers.facebook.com/docs/plugins/

LIKE a detail page inside iframe app in tab

We have a facebook app that's running inside an IFRAME on a fan page TAB.
On the main page of the app, we show e.g. 10 books and users can click through to the detail page of one single book.
We want to add a LIKE button on those detail pages, so that users on facebook can like and share that book in their stream.
The problem is that facebook doesn't provide a way to like a detail page inside an iframe, as far as we can see.
Does anyone know how to solve this?
We want the liked link, to link directly to our application inside the tab of the fan page where our application has been added, in other words: when a user likes a book, others should be able to click on that liked link and see the book in the tabbed app
You might possible be able to use the app_data field to accomplish what you're looking for. Check https://developers.facebook.com/docs/authentication/signed_request/ for more info. This should allow for unique url's that you can trigger your page to respond to.