2011年12月1日
摘要: DealSpot allows you to offer your customers Facebook Credits in exchange for completing advertiser offers. It intelligently matches customers to an exclusive set of targeted offers, such as flowers for Mothers Day, or tickets to newly released movies. DealSpot relies on a set of in-game icons that r 阅读全文
posted @ 2011-12-01 19:23 小炒花生米 阅读(658) 评论(0) 推荐(0) 编辑
摘要: The Facebook Offer Shortcut allows you to offer your game players Facebook Credits in exchange for completing advertiser offers. Fig. 1 — An in-game touchpoint promoting Credits. Fig. 2 — A player has clicked the in-game touchpoint, displaying the Offer Shortcut.Code Snippet<scripttype="text 阅读全文
posted @ 2011-12-01 19:14 小炒花生米 阅读(527) 评论(0) 推荐(0) 编辑
摘要: The Facebook Offer Shortcut displays the following error if we can’t retrieve your app’s publicly available meta data:Fig. 1—Error message for an unknown Facebook app IDThis could be because you’ve provided an invalid app ID or—more likely—because your app is still private (e.g., you’re using a deve 阅读全文
posted @ 2011-12-01 18:03 小炒花生米 阅读(431) 评论(0) 推荐(0) 编辑
摘要: An Update on Encrypted UIDsBy Mike Vernal - Wednesday, November 24, 2010 at 11:25amLast month, we outlined an initial proposal to address the inadvertent sharing of User IDs (UIDs) via the HTTP Referral header. Further, we announced our intention to provide a unique, but anonymous mechanism that dev 阅读全文
posted @ 2011-12-01 16:08 小炒花生米 阅读(321) 评论(0) 推荐(0) 编辑
摘要: 输出JavaScript对象的内部结构常常做调试用. 一个输出所有对象属性的例子如下: Javascript代码 functiondump_obj(myObject){vars="";for(varpropertyinmyObject){s=s+"\n"+property+":"+myObject[property];}alert(s);}以上代码有些简陋,看个完善些的 Javascript代码 <scriptlanguage="javascript">varMAX_DUMP_DEPTH=10;func 阅读全文
posted @ 2011-12-01 11:36 小炒花生米 阅读(3499) 评论(0) 推荐(0) 编辑