简体   繁体   English

在Facebook上使用GRAPH API Android分享全尺寸照片

[英]Share photo with full size on facebook useing GRAPH API Android

i want to post look like below image but with full size image. 我想发布如下图像,但有全尺寸图像。

在此输入图像描述

I allreay use graph api to share photo on facebook which is something like below. 我总是使用graph api在facebook上分享照片,如下所示。 在此输入图像描述

i want some hyperlink like above image and big photo. 我想要一些像上面的图像和大照片的超链接。

pls.....guide me for this question. 请指导我这个问题。

Thanks in advance. 提前致谢。

Simple answer No you can't show full sized image .We will get only default size fixed by Facebook Graph API 简单的答案没有你不能显示完整大小的图像 。我们将只获得Facebook Graph API修复的默认大小

Totally there are three types of Media attachments , 共有三种类型的媒体附件,

1) image 1)图像

2) flash 2)闪光

3) mp3 3)mp3

For image Media type : You can't set user defined height and width , no such key/value pair for setting height and width. 对于图像媒体类型:您不能设置用户定义的高度和宽度,没有用于设置高度和宽度的键/值对。

For Flash Media type : You can set Height and width , below are the key/value pair available for Flash type : 对于Flash Media类型:您可以设置高度和宽度,下面是可用于Flash类型的键/值对:

"width": "80", 
"height": "60",
"expanded_width": "160", 
"expanded_height": "120" 

For mp3 no need to discuss. 对于mp3没有必要讨论。

Media attachments for Facebook post Facebook帖子的媒体附件

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM