如何使用 FQL 获取高分辨率页面和图片的提要
我正在尝试从像可口可乐这样的页面获取所有提要,并且我想以大分辨率获取此页面的相关图片,但我只有小版本。但我不知道如何直接从提要中获取大版本。
我正在使用 ios-facebook-sdk。
// Get Feed
[_facebook requestWithGraphPath:@"coca-cola/feed" andDelegate:self];
// Get Photo
NSString *req = @"SELECT pid,owner,src_big, object_id FROM photo WHERE aid IN ( SELECT aid FROM album WHERE owner = 40796308305 )";
NSMutableDictionary * params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
req, @"query",
[_facebook accessToken], @"access_token",
nil];
[_facebook requestWithMethodName:@"fql.query"
andParams:params
andHttpMethod:@"POST"
andDelegate:self];
I'm trying to get all the feeds from a page like coca-cola and I want to get the related picture of this page in big resolution I only have small version. But I don't know how to get the big version from the feed directly.
I'm using ios-facebook-sdk.
// Get Feed
[_facebook requestWithGraphPath:@"coca-cola/feed" andDelegate:self];
// Get Photo
NSString *req = @"SELECT pid,owner,src_big, object_id FROM photo WHERE aid IN ( SELECT aid FROM album WHERE owner = 40796308305 )";
NSMutableDictionary * params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
req, @"query",
[_facebook accessToken], @"access_token",
nil];
[_facebook requestWithMethodName:@"fql.query"
andParams:params
andHttpMethod:@"POST"
andDelegate:self];
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我发现,如果你经过相册,你可以检索高分辨率的照片。
I found it if you pass by the albums you can retrieve photo in high res.