I'm having a little problem with my (facebook) share link.
I use hyperapp and fbbot will not execute js, so my meta will not be displayed.
So i made a sharing page on my api (with a js redirect to my front for user).
Everything works good, but, when i share, i see [api-mydomain.com] in the preview/sharing post.
I understand that is my og:url that tell fb what to do.
So i need fb bot to stay on this api page to retrieve meta, but i would like [mydomain.com] in the post.
Is there a solution without php?
Am i doing it wrong way?
Thanks.
Related
I want to display facebook wall post (by id) on my site in facebook style, or redirect user and focus him on current post at facebook. I`m already display it using open graph with my own css, but it should be look another way. In general i am interesting in second variant with ability redirect user on facebook and show him that post.
May be anyone know how to do that?
Thanks, Anton.
I found solution, https://www.facebook.com/permalink.php?story_fbid=$POST_ID&id=$YOUR_ACCOUNT_ID
Just a simple question, I had facebook comments integrated in my page here:
http://www.bbcnepalidrama.com/main/node/3
Now I have changed the URL alias like this:
http://www.bbcnepalidrama.com/main/about
I have also set a 301 redirect in the old URL which redirects to the new one.
The Question is how do I get the old comments in this URL? They are missing now.
I think, that these comments will be forever associated with that URL and since you've changed it, as far as FB is concerned you are pointing to a different URL.
you can specify the old URL as “canonical” with an og:url meta tag.
see the FAQ about this.
This sucks in Facebook comments. I've launched a site with Facebook comments integrated, without setting the URL, and now when I do, the comments doesn't show up.
Your case seems to be easy, since it seems you're using Drupal. You can install the token and token_filter modules, so you can add the facebook comments code to a block and use the appropriate token that will return the node id from the current page.
I have a website at http://www.mydomain.com which has a corresponding facebook page at https://www.facebook.com/pages/mydomain/123456789.
I am looking for a way to integrate this facebook page URL into the open graph headers so that when someone shares my page, it actually shares the Facebook page instead of the site's URL.
Is this possible?
You can now do this by setting the og:url meta tag to the url of your Facebook page. Keep in mind that if you do this, other networks that use Open Graph tags will probably share your Facebook page instead of the site's url, so make sure that's what you want.
<meta property="og:url" content="http://www.facebook.com/your-page"/>
Perhaps you already figured this out as this is an old question, but since I stumbled upon it... If I understand your question correctly, you do not even need the ogp meta tags to accomplish what you want to do. All you need to do is go to http://developers.facebook.com/docs/reference/plugins/like/ and input your facebook page url in "url to like", https://www.facebook.com/pages/mydomain/123456789 from your example. Then select the options you want including the "send" button. Then get the code and paste it where you want it in your website. Now whenever someone clicks "like" on your website or clicks "send" to share your website, they will actually be liking or sending the url to your Facebook page and not your website. Is that what you were looking for?
My friend has created about 20 Facebook fan page for the website. www.AvailDiscounts.com
Now the issue is, when we click on the wall post to "share" with other friends, its taking to another page where it displays the meta tags and the title of the login page instead of displaying the exact post.
Please find the fan page of the website:
http://www.facebook.com/pages/Avail-Discounts-Chicago/195486540483072
How to over come this issue.
The Query can be found in the following link with images:
http://getsatisfaction.com/rssgraffiti/topics/issue_with_share_button_when_using_rss_graffiti
Please help
As far as i have checked this seems to be an issue with the RSS Graffiti application in Facebook.
You have two issues here:
1) Are you posting the correct link in RSS Graffiti?
It seems all of your fan page links redirect me to the Avail-Discounts-Chicago home page. It's either it is non-existent, deal closed or bad URL supplied.
2) RSS Graffiti posts differently than Share button
RSS Graffiti prepares your data, image link title and description before posting to the page stream. The default Facebook Share button does not. What it does is get the URL, scrape that URL with information, which can be defined through opengraph tags. Make sure your links / deals have their meta:og's.
Your question is a bit vague, and the passing of the auth information is kind of scary, but anyway, I'd make the href of the post something along the lines of this:
http://www.facebook.com/dialog/feed?app_id=123050457758183&link=http://developers.facebook.com/docs/reference/dialogs/&picture=http://fbrell.com/f8.jpg&name=Facebook%20Dialogs&caption=Reference%20Documentation&description=Dialogs%20provide%20a%20simple,%20consistent%20interface%20for%20applications%20to%20interact%20with%20users.&message=Facebook%20Dialogs%20are%20so%20easy!&redirect_uri=http://www.example.com/response
More information is available here:
http://developers.facebook.com/docs/reference/dialogs/feed/
I've asked this question on the facebook and ping.fm developer forums, but they don't seem to be very busy at the moment. So lets see what you lot can do...
I have included meta tags for title, description and image_src on my site so facebook can pick this information up and display it on users's posts on facebook. I am using ping.fm to make the post to facebook. The meta data appears to work fine on a 'pages' page on facebook, but on individual user's walls it doesn't show any of the meta data in the post.
Any ideas why this is?
I'm not really a facebook developer, but would like this to work so if there is something that I need to do let me know.
The link that is being posted to facebook is a ping.fm tinyurl, but as I said it works on 'pages'.
Not sure how you're sharing/posting this on Facebook, but maybe the URL Linter will help? Maybe you can share the URL for the page in question.
I found that it was actually a ping.fm setting in the users account which was preventing this.