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
Looking for a Bitrix24 specialist / CRM integrator to set up automation.Our company works with CRM Bitrix24. We need a specialist who can set up automatic addition of phone numbers to leads/orders in two formats. Automation must be correctly configured for two countries: the Republic of Moldova and Romania. Task: When creating a lead or order in… PHP, Web Programming ∙ 11 hours 46 minutes back ∙ 22 proposals |
Add a scrolling marquee to the header of the website
16 USD
https://crazybox.com.ua/uk?srsltid=AfmBOopQRUXCCmxx699n57B3eP1XmwcYxJxwPh9qV9WcVjLjS_J2pK5s here is an example of how it looks, it needs to be made similar to theirs and on this one it needs to be done https://rollershop.com.ua/ opencart ocStore 3.0.3.7. and there should be… PHP, Web Programming ∙ 1 day 5 hours back ∙ 86 proposals |
Website optimizationOptimization of the website jdgreta.co.uk on Shopify. SEO audit attached to the project. Main tasks - - Fix all meta data - Complete the technical specifications for the programmer (since this project combines tasks for both the programmer and SEO, if you are not a company -… HTML & CSS, PHP ∙ 1 day 7 hours back ∙ 30 proposals |
Horoshop SpecialistNeed a specialist who can correctly set up the product Feed. Problem: Currently, over 13,000 products are being uploaded with the same type value (e.g., "everything for manicure and pedicure"). Because of this, it is impossible to segment products in Google Ads and set different… PHP, Website Maintenance ∙ 2 days 10 hours back ∙ 21 proposals |
Make sure that order emails from the store do not go to spam.Currently, there is a store on OpenCart, and order emails are landing in spam. We need to ensure they go to Inbox (ukr.net gmail) and check it. The hosting provider wrote: Poor email delivery may be related to a low sender reputation - IP or domain. In this case, we can advise… PHP, Web Programming ∙ 3 days 11 hours back ∙ 47 proposals |