I need to share a photo/link in Facebook, with custom title, custom description and photo thumbnail.
share link is,
http://www.facebook.com/sharer/sharer.php?s=100&p%5Btitle%5D=From+the+album%3A+Timeline+Photos&p%5Bsummary%5D=my+5th+%231+album+and+now+i%27m+hosting+SNL.+u+made+this+happen.+thank+u+to+all+my+beliebers.+%0D%0A%0D%0Ahttp%3A%2F%2Fsmarturl.it%2FJBBelieveAcoustic&p%5Burl%5D=By+Justin+Bieber&p%5Bimages%5D%5B0%5D=https%3A%2F%2Ffbcdn-sphotos-c-a.akamaihd.net%2Fhphotos-ak-ash4%2Fs480x480%2F485171_10151590726513888_1592108632_n.jpg&
I'm getting "Could not post to Wall". The message could not be posted to this Wall. IS any other way to share without passing app id?
Thanks
i am using following code it was working fine but recently my image is getting load in facebook share box .
https://www.facebook.com/sharer/sharer.php?s=100&p[title]=thisismytitle&p[summary]=thisismysummary&p[url]=http://www.google.com&&p[images][0]=www.mysit/imag.jpg', 'Facebook', 'width=626,height=436,toolbar=0,status=0
Related
I'm working on a react native app using the react-native-share package to share an image to Instagram. I'm able to share the image to Instagram on iOS, but would like to display a url at the top left corner to tell others to view this post in our website.
It seems some apps can do this already like Spotify or Netflix or Soundcloud.
I've tried to use the package's Share.shareSingle method with the attributionURL: 'https://google.com', however, this doesn't display anything at the top.
Not found in the documentation either: https://developers.facebook.com/docs/instagram/sharing-to-stories/
Does anyone know how to implement this using the React Native package similar to the picture here: https://imgur.com/a/MEcthHd
And please provide documentation and a code example if possible, or how the link should be formatted. Thank you!
Please point me to the right directions, I want to implement this on my app:
http://tinypic.com/r/2e6gger/8
The image above came from instagram app after tapping on Add to Photo Map option, 3rd page when adding a new image.
From what I understand so far, core location can give me the exact position of the device but not
the other locations I see on the page above as suggestions.
Thanks
Those location names come from facebook places, you have call the facebook graph API for places and then find the corresponding instagram location id, here is related question with the answer: https://stackoverflow.com/a/26685713/423089
So we decided to use foursquare's api.
Thanks.
I'm working with Gigya's Share Bar javascript api and am having an issue with google plus sharing. I have separate UserAction objects for facebook, twitter and google plus to display different text and linkbacks. I'm adding a media item (image) to the facebook and google plus actions to share that image along with the text. Facebook is sharing the correct image, however, google plus is displaying a different image. I have no idea where this image is coming from. Text and link are correct on both, but the image is frustratingly incorrect.
Has anyone encountered an issue like this? Is there something different that must be done for google plus shares?
Test your target URL with Google's structured data testing tool.
Read the snippet documentation to understand how the Google crawler determines what to use in the share preview.
I am trying to get yahoo! screen video's image thumbs to embed on my website like we can easily do in other websites ( Get img thumbnails from Vimeo?, How do I get a YouTube video thumbnail from the YouTube API?, etc.).
There used to be a sugestion: Get thumbnail image for Yahoo video? (python) but it doesn't seem to work now with the new Yahoo! Screen.
Some quick searching on the Internets led me to Y!'s very own online help: http://help.yahoo.com/l/in/yahoo/video/using/using005.html;_ylt=Aj3rNfbhKBNyXODHGK5ONSo1qXtG
According to which, all I have to do is Copy the thumbnail code under the Share tab. Unfortunately, I can't seem to find any thumbnail code under the Share tab.
I also couldn't find any Y!Screen api on http://developer.yahoo.com/everything.html that could help me with this... ideas?
Using YQL for cross domain data scraping along with jQuery is the solution that works.
Some of it is sound, some of it is hackish, but that's what scraping is all about I suppose.
The basis for this method was not done by me, but by using a tutorial for Facebook titled
Create a Facebook-style Link Preview Using jQuery & YQL written by Jocelyn Stretton.
Included in the modified JavaScript which serves as a starting point, you will have access and understand how to retrieve the following:
1. Yahoo! Screen Video Webpage Title
2. Yahoo! Screen Thumbnail URL Link
3. Yahoo! Screen Video URL Link
4. Scrape Other meta Tag Content
5. Yahoo Screen Video Embed Code provided by the Yahoo Screen Player itself.
DEMO in jsFiddle!
EDIT: jsFiddle DEMO is no longer subdomain (regionally) dependent for video example.
EDIT 2: For those that would like to see another tutorial based on this .ajax() YQL process, I've made two jsFiddles for Pinterest Data Scraping. You can see that SO Answer here that discusses a lot more in detail for XPATH.
Has anyone posted a video via the Facebook Connect API to their profile / feed page?
Ideally, the video should be queued to the first frame with the superimposed Facebook's blue right arrow "play" button. Or if a thumbnail representing the video has to also be uploaded (rather than the video being queued to the first frame) as well, this is fine.
Also, when the video, or thumbnail, on the profile page is clicked, the video plays where it is - rather than going to another page off Facebook to be played there.
The question may have not been correctly worded. The term "API" was misleading to a couple of folks - and I apologize for that.
What I was trying to do was to "share" a video by linking it in Facebook, AND to have it play in the profile feed (ie. to not leave the Facebook site while viewing the video - just like YouTube and Hulu.com do).
After digging into the JavaScript that Hulu was using to get this behavior, we noticed that a link tag was missing between our version of the <meta> and <link> tags, and Hulu's.
Facebook's web page, http://www.facebook.com/share_partners.php, was missing a tag that you should have if the content is a video, and you want it played in the profile feed.
Along with:
<link rel="video_src" href="http://www.example.com/player.swf?video_id=123456789"/> ...
You should include:
<link rel="media:video" href="http://www.example.com/player.swf?video_id=123456789"/>
That will get it to play in the feed. BUT, your domain name must be whitelisted.
To get your domain whitelisted, fill out this form: http://www.facebook.com/share_partners.php#/developers/developer_help.php
I got a reply, and approval, within a day! Kudos to the Facebook developer support staff!
Use the Video.upload as described by stevedbrown or the Stream API or if you want to go simple share the link via API or share link.
Have you read the Facebook developer wiki page on this? That explains what is possible and how, it's pretty decent.