Search the Community
Showing results for tags 'mobile'.
-
Hello, Guys! I have a few questions. What is difference between this urls? 1. https://steamcommunity.com/mobileconf/conf?p= 2. https://steamcommunity.com/mobileconf/ajaxop?op= How i understood to confirm some trade i need to use https://steamcommunity.com/mobileconf/ajaxop?op= Now i have this code: Parameters: $identity_secret = 'J**************************g=';$time = time();$tag = 'conf';// ---------> base64 confirmation key $buf = pack('NNa*', 0, $time, $tag); $hmac = hash_hmac('sha1', $buf, $identity_secret, true); $k = base64_encode($hmac);// ^--------- base64 confirmation key $steamid = '76561198252188406';$deviceid = 'android:' . preg_replace('/^([0-9a-f]{8})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{12}).*$/', '$1-$2-$3-$4-$5', sha1($steamid)); And create final url for post request:$url = 'https://steamcommunity.com/mobileconf/ajaxop?op=allow&p='.$deviceid.'&a='.$steamid.'&k='.$k.'&t='.$time.'&m=android&tag=conf'; But i get this: "{"success":false}" That is the problem? Maybe i need some more parapeters or i generate something not right?
-
Hello, this is my code var offer = manager.createOffer(row.trade_url); offer.addTheirItem({"appid": 730, "contextid": 2, "assetid": row.assetid}); offer.send(function(err, status) { if (err) { console.log("[ERROR] Sending offer - " + err); } else { console.log("Offer #" + offer.id + " " + status); } console.log(status); }); Everything works, but can I check If he have mobile authentificator on?
- 11 replies
-
- js
- javascript
-
(and 6 more)
Tagged with: