开发者

Facebook: fbml.refreshImgSrc How to refresh all images in an aplication

i'm modifing a old aplication that uses the (@Deprecated) FBML api, and we want to refresh all the images like http://developers.facebook.com/docs/reference/rest/fbml.refreshImgSrc/

is there any tips that开发者_开发百科 you can tell me?


Ok, the solution that i made was add some random parameter to the end of the url, so that way fb refresh the image:

http://miserver/img/img01.jpg?fbrefresh=random_parameter_123456

random_parameter_123456 = can be any random parameter like text (sdkhfsdhk) or numeric (23145434), the important is that never be 2 equals parameters... (timestamp its a good random parameter)

Regards,

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜