how to publish/share with big photo
I'm have followed a very clear tutorial to publish (share) a story on fb timeline. You can see the code I am using on my website behind the FB Share button. How can I force the photo to be bigger instead of a thumbnail? What should I add to the js code (FB.ui)? An action? But what should I write it? I am very new to FB api, so please in plain english... Thank you! Paul
I went through your code. You are using feed method.
FB.ui(
{
method: 'feed',
name: 'Paul Godard – Soul Photography',
link: 'http://www.paulgodard.com/',
picture: 'http://www.gondwanastudio.com/xMedia/Images/Photos/PG_010501-011000/PG_010927.jpg',
source: '',
caption: 'Paul Godard | Soul Photography | Landscape | Nature | Fine Art',
description: 'I am blessed. I have 2 wonderful children Enya and James and my best friend is their mother, my soulmate for many years. I live in a wonderful home in Africa, the wildest continent of the world. I am very privileged and grateful. There is so much beauty around us but people dont see it anymore...',
message: ''
});
Insted of this, try using photos method as follows
FB.api('me/photos', 'post', {
message: 'your message',
status: 'success',
access_token: access_token,
url: 'your_Img_url'
}, function(response) {
});
Here we are uploading a photo. It will get saved in a new album since we have not created any in above code and a big photo will get posted on your wall.
链接地址: http://www.djcxy.com/p/63736.html上一篇: 静态常量类成员声明
下一篇: 如何发布/与大照片分享