ich versuche, ein Bild zu meinen Benutzern des Facebook-Pinnwand zu posten, sobald sie ein Botton HitBOOK JS SDK :: wie ein Bild an der Wand schreiben
ich bin Javascript SDK verwenden, aber ich habe ein Problem, das Bild sieht aus wie ein Link in der Wand ... aber das ist nicht, was ich will ... ich möchte ein Bild zu posten ... das gleiche wie wenn Sie einen Bildlink auf Ihrem Status Textfeld setzen und es zu Bild
wirdHilfe?
FB.ui(
{
method: 'stream.publish',
message: 'test',
attachment :{
'name': 'i\'m bursting with joy',
'href': ' http://bit.ly/187gO1',
'caption': '{*actor*} rated the lolcat 5 stars',
'description': 'a funny looking cat',
'properties': {
'category': { 'text': 'humor', 'href': 'http://bit.ly/KYbaN'},
'ratings': '5 stars'
},
'media': [{
'type': 'image',
'src': 'http://icanhascheezburger.files.wordpress.com/2009/03/funny-pictures-your-cat-is-bursting-with-joy1.jpg',
'href': 'http://bit.ly/187gO1'}]
},
user_message_prompt: 'Share your thoughts about Connect'
},
function(response) {
if (response && response.post_id) {
alert('Post was published.');
} else {
alert('Post was not published.');
}
}
aber gibt es eine Möglichkeit, Bild an Benutzer WALL UPLOAD? – trrrrrrm
@ From.ME.to.YOU Nun wird ein Bild an eine Wand als ein Symbol, nicht als ein Link. Ist das was du brauchst? Was meinst du mit hochladen? – serg
@serg Hey, das funktioniert gut, aber könntest du mir sagen, wie man auf Freunde Wand posten? Ich möchte einen Knopf haben, der beim Klicken "fragen" würde, ob das Bild auf der Freundeswand gepostet werden soll oder nicht. – Surya