페이스북 credits 변경.

Posted 2013.08.09 15:48
UsageNewOld
Buy item priced in local currency (e.g. USD)function buy() { 
  var obj = {
   method: 'pay',
   action: 'buy_item',
   order_info:
    SOME_DEV_JS_OBJECT_ORDER_INFO
   dev_purchase_params: 
    {'oscif': true}
  };
  FB.ui(obj, js_callback);
}
function buy() { 
  var obj = { 
   method: 'pay', 
   purchase_type: 'item', 
   order_info:
    SOME_DEV_JS_OBJECT_ORDER_INFO
   dev_purchase_params: 
    {'oscif': true} 
  }; 
  FB.ui(obj, callback); 

Buy item priced in credits as a currencyfunction buy() {
  var obj = {
   method: 'pay',
   action: 'buy_item',
   order_info: 
    SOME_DEV_JS_OBJECT_ORDER_INFO
  };
  FB.ui(obj, js_callback);
}
function buy() { 
  var obj = { 
   method: 'pay',
   purchase_type: 'item',
   order_info: 
    SOME_DEV_JS_OBJECT_ORDER_INFO
  };
  FB.ui(obj, callback);
}
Buy credits priced in local currency (e.g. USD)function buy() {
  var obj = {
   method: 'pay',
   action: 'buy_credits'
  };
  FB.ui(obj, js_callback);
}
function buy(){
  var obj = {
   method: 'pay',
   credits_purchase: true
  };
  FB.ui(obj, callback);
}
Earn credits by completing advertiser offersfunction buy() {
  var obj = {
   method: 'pay',
   action: 'earn_credits'
  };
  FB.ui(obj, js_callback);
}
function buy(){
  var obj = {
   method: 'pay',
   credits_purchase: true,
   dev_purchase_params:
    {'shortcut': 'offer'}
  };
  FB.ui(obj, callback);
}
Earn in-app currency by completing advertiser offersfunction buy() {
  var obj = {
   method: 'pay',
   action: 'earn_currency',
   product:
    'URL_TO_APP_CURR_WEBPAGE'
  };
  FB.ui(obj, js_callback);
}
Not applicable.


« PREV : 1 : ··· : 6 : 7 : 8 : 9 : 10 : 11 : 12 : 13 : 14 : ··· : 41 : NEXT »