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/
Related
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.
I have Facebook Likes buttons on every page of my website. I want it so that when a user Likes, there will be a Like pointing to the current page they are on. But the number will reflect how many Likes for the entire page. I am wondering if this is possible?
From my understanding, the number of Likes is associated with the link the user is liking. Is my understanding correct?
Facebook like buttons are linked to a URL - either that of your website home:
www.example.com
OR separately a single page
www.example.com/post-about-example
When you create the like button you decide what the like is against - essentially if you are selecting the home page - it is still only liking a single page, but its just the main page you want the facebook profile to link to. You need to have each button liking EITHER your home OR your individual page - one button cannot do both.
On a side note - from an SEO standpoint, it is better if your likes are associated with your home page as this should link to your most important pages first - reaping the best SEO benefit for the more important pages - whilst also directing users to what is set up as a landing page.
If your site is one which relies on multiple posts, say a blog. It may be better to go down the path whereby each post url has its own facebook like button FOR THAT URL. This way each post gets more exposure.
I hope that answers your question.
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.
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
I have a website that is now listed in Google's search directory, but it will only display 'Home' as title and will not display a descriptive text as it would for other results found. This is the search I've done to retrieve my website: here. It's the 8th result (for me, might be different for you guys), but it's the only one that has no description attached to itself and no title (only Home).
I assume the title has got to do with the tags in my html, though if you have a look at the website's source code, the title is not Home. So I'm not quite sure what to do here. Also, I'm using wordpress for this website so maybe there's something I should be doing on the server-side to fix this?
I always assumed google would extract directly from the page, so I have no idea what to do here.
I'm guessing the page title used to be 'home' and Google just hasn't caught up with the change yet. Google doesn't check every time it returns your page as a result (think about how that would work).
You could also update the meta description tag in your homepage so Google can present a proper description of your site to searchers.