is anyone tried to integrate a facebook post / photo with embedly?
I try to copy post / photo url from facebook:
Post URL:
Showing full article same as using "Embed post" from facebook.
Photo URL:
Showing only the exactly images, but not generated "title" and "description" parameter.
How can we accomplish this, is there any way to change parameter default value?
Thank you very much
You have to use either facebook Embedded Post , Or you can use facebook SDK to get data from facebook.
Ofcourse Url to Image will embedd only image. And Url to complete post will embedd complete post.
Related
When I try to embed an instagram post I get the message unexpected json response.
<script async src="//www.instagram.com/embed.js"></script>
This is the last line of the embed code, and when I remove it it works, but then instead of the picture it display the 'view on instagram' text.
Adding http:// to the link doesn't help.
Wordpress doesn't support unsigned Instagram embeds anymore, due to the changes in Instagram API: https://make.wordpress.org/core/2020/09/22/facebook-and-instagram-embeds-to-be-deprecated-october-24th/
Above thread suggests to use oEmbed Plus plugin to workaround this: https://wordpress.org/plugins/oembed-plus/
I have as an example this page.
http://www.kefet.com/content/article.html?langId=90&artLang=en
If you go to that link after logging to your facebook account and try to share the article,
on the title it shows you the url in stead of the title of the article.
I went to check with facebook debugger, and obviously it said that I have the URL on
og:url http://www.kefet.com/content/article.html?langId=90&artLang=en
og:title http://www.kefet.com/content/article.html?langId=90&artLang=en
Yet when I go to see my source code of my page, I see all correct. Is there anyone that can help me and tell me what do I need to change in order to show the title of the article where it belongs?
Thank you!
The problem may be facebook uses cache for OG tag.
You can use sharer.php as below :
http://www.facebook.com/sharer.php?s=100&p[url]=your_url&p[images][0]=image_url&p[title]=your_title
I have created a pinit button which can be seen here
http://auragraphic.com/mag/
for each image there is a pinit button, when I am clicking on it I pass following things
url - this contains the image url
media - this contains the image url
description - this contains text + short url for product
example link
http://pinterest.com/pin/create/button/?url=http://auragraphic.com/mag/gqlive/timberlandlook_1.jpg&media=http://auragraphic.com/mag/gqlive/timberlandlook_1.jpg&description=I%20love%20GQ%20Live%20products%20http://goo.gl/pFNcl
When I am visiting the above link I am getting a message from pinterest that
This pin contains a link or text that we do not allow. We have blocked this pin for your safety
May I know what is wrong in the above example link
THis is happening because of the goo.gl shortener. I tried posting the same link without the shortening and it was posted successfully. So, either use some other whitelisted url shortener or use the complete link while sharing. Better option is to create your own url shortener using free URL shortener script from http://yourls.org/
I have found the funny site there :D
On your facebook chat dialog, you can push the emoticon photo code with the text on photo description like some facebook api code.
By using FB Photo Zoom google chrome plug-in, when I drag on each position on emoticon, they contain many emoticon codes like [[xxxxxxxxx]]
So my question is: how does the mechanism of Facebook chat allow users to post photos like this? Can we make the local images for use like this?
Those are not emoticon codes, they're simple FB page or profile IDs.
e.g.
[[youtube]] // go to facebook.com/youtube
[[100001939588739]] // go to http://www.facebook.com/profile.php?id=100001939588739
[[biker.abhinav]] // go to http://facebook.com/bikerabhinav
All those rage faces, or any image which get replaced are actually page/profiles. [[xxxx]] just shows their thumbnail image.
My guess is that there is javascript that replaces those codes with images stored on the server (the code is obfuscated, so I can't be sure).
You could do the same, you would just have to host the images yourself, and write a simple javascript file.
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