Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
308 views
in Technique[技术] by (71.8m points)

Facebook taggable_friends returns json picture URL, but URL is invalid

I get a json back from Facebook when using taggable_friends:

{"id":"aaifpxqtnzaoxzj1htqpj3mx4xbjlipvuvch9muqueia1ic2xr3iqv1ouyisuk9ob8xknuwb1rk5poy92stj6oho1aiowst6lcx6dsz32pzibw", "name":"jan pietersen","picture":{"data":{"is_silhouette":false, "url":"https://fbcdn-profile-a.akamaihd.net/hprofile-ak-xaf1/v/t1.0-1/c22.22.276.276/s50x50/1002729_391175754325150_673656636_n.jpg?oh= 0f95c73655a7d1ba4d0a9b7418cb00a0&oe=5593eb6a&gda=1431088369_3978aa4d6e53a85856463087f4b37e93"}}}

I get the picture URL from this string that looks like this:

https://fbcdn-profile-a.akamaihd.net/hprofile-ak-xaf1/v/t1.0-1/c22.22.276.276/s50x50/1002729_391175754325150_673656636_n.jpg?oh=0f95c73655a7d1ba4d0a9b7418cb00a0&oe=5593eb6a&gda=1431088369_3978aa4d6e53a85856463087f4b37e93

That doesn't work because when checking on Facebook it should look like this: https://fbcdn-profile-a.akamaihd.net/hprofile-ak-xaf1/v/t1.0-1/c22.22.276.276/s160x160/1002729_391175754325150_673656636_n.jpg?oh=0203e560f071eb42dcf6bdec99a74e1b&oe=55583D9F&gda=1432062559_2c1d594d9b7c6ff542e47d169d3b670f

Anybody a clue what I am doing wrong?

Andy.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...