php скрипт для сбора ресурсов онлаин игры ThroneRush
необходимо сделать php скрипт для сбора ресурсов флеш игры Throne Rush которая доступна на фейсбуке.
Из сложностей при отправке пакетов флешка генерирует X-Auth-Signature на основе таймштампа данных которые отправляються POST запросом и т.д
Поэтому внимательно читаем вот это https://habrahabr.ru/post/223013/ там детальное описание процедуры генерации x-auth-signture на языке GoLang , а также прмиер написания бота под эту игру. Уверен что разобраться будет не очень трудно.
Вот прмиер пакета который флешка отправляет на сервер
POST https://epicwar-facebook.nextersglobal.com/api/ HTTP/1.1
Host: epicwar-facebook.nextersglobal.com
Connection: keep-alive
Content-Length: 152
X-Auth-Signature: 2921f35ae19cd199cb48f9943cd0992e <---Подпись созданая флешкой
X-Server-Time: 1509566782
X-Auth-Session-Id: 0oyr8vj0g86ujf
Origin: https://epicwar-a.akamaihd.net
X-Auth-Application-Id: 1424411677784893
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3200.0 Iron Safari/537.36
X-Auth-User-Id: 1177621868975380
Content-Type: application/json; charset=UTF-8
X-Auth-Network-Ident: facebook
X-Auth-Token: ps-3pMAdijq-1509566367-тут_был_мой_ип_-dfca12986fe18927e6bd72a71b4e1427
X-Env-Library-Version: 0
X-Requested-With: ShockwaveFlash/27.0.0.183
X-Request-Id: 47
Accept: */*
Referer: https://epicwar-a.akamaihd.net/fb/v0557/assets/EpicGame.swf
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.8
Ниже данные переданые методом POST
{"calls":[{"ident":"group_0_body","name":"collectResource","args":{"buildingId":275}},{"ident":"group_1_body","name":"state","args":{}}],"session":null}
P.S При каждом новом входе в игру генерируються новые значения X-Auth-Token и X-Auth-Session-Id , чтобы их постояно не тянуть с фейсбука я могу сам их впиывать руками в скрипт.
Большая просьба писать только тем кто считают ,что смогут справиться с поставленой задачей .
Current freelance projects in the category PHP
Development of a WordPress website
23 USD
We are looking for a contractor to develop a custom website on WordPress for a jewelry store. The first stage will be a consultation. Content Management Systems, PHP ∙ 7 hours 48 minutes back ∙ 40 proposals |
The WooCommerce cart (WordPress) is broken — it does not add products and the cart page does not open.On the website of the online store https://www.dobryi-gospodar.com/ (WordPress + WooCommerce), the checkout function has completely stopped working. When clicking the "Add to cart" button (both in the product card and in the catalog), a long loading process begins (the indicator… Content Management Systems, PHP ∙ 9 hours 35 minutes back ∙ 47 proposals |
Product search function by imageIt is necessary to develop and integrate a product search function by image on the website.What needs to be implementedA "Search by Photo" button on the website.Image upload by the user: JPG.Search for visually similar products in the catalog.Display results in the form of… PHP, Web Programming ∙ 17 hours 2 minutes back ∙ 40 proposals |
Parser expireddomains.net
113 USD
A parser is needed for expireddomains.net. You need to log in to the site first; the problem is that it blocks the IP when trying to parse data. You need to parse thematic domains based on a list of keywords. If you are not confident in your abilities, please do not write. PHP, Web Programming ∙ 2 days 15 hours back ∙ 50 proposals |
Integration of payment service with Sales Force
70 USD
There is a payment system widget on the site that needs to be integrated with Salesforce so that all required parameters are visible on the Salesforce side. It needs to be done in such a way that all payments and subscriptions are controlled through Salesforce. PHP, Web Programming ∙ 2 days 19 hours back ∙ 41 proposals |