Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7182901
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T17:52:10+00:00 2026-05-28T17:52:10+00:00

so theres this application that is on facebook, so the source is in an

  • 0

so theres this application that is on facebook, so the source is in an Iframe. The application uses ajax to update and I’m looking to figure out how to send updates manually so I don’t have to constantly click on it. every two minutes theres this mission you can do and i’d like to automate it so i can have a service on android that makes sure im logged into facebook, then sends out requests every 2 min and 1 second. can anyone help me with this?

I found the ajax request, new Ajax.Request(‘/missions/start_mission/1422628013?current_planet=1000002998492&ship_quantities=default’, {asynchronous:true, evalScripts:true, parameters:Form.Element.serialize($(‘batch_size_1422628013’))}); but i’m unsure how to actually set it with a relative url like this

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T17:52:10+00:00Added an answer on May 28, 2026 at 5:52 pm

    I recall the url is resolved relatively to the address of the page the script is executed on. And the first character being slash suggests that the url is to be resolved in relation to the root (i.e. domain name). So I’d go with the name of the server iframe gets loaded from. (like http://awesomespacestrategy.com/missions/start_mission/1422628013?current_planet=1000002998492&ship_quantities=default)

    Also, you can use Chrome’s developer tools, FireBug or even Fiddler to see exact urls being retrieved when you load page.

    But I suspect the server stores your session, so you won’t be able to trigger the game action that easy.

    Edit:
    Another way would be to use WebView in an Activity launched by the service every 2 minutes: Android webview inside a service?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a facebook iframe application that is having trouble redirecting, I keep getting
I'm building an application that gives users the option to send out an email
I have a Facebook iframe application that I am monetizing via Google Adsense. On
I have an application that allows the user to send a picture. This picture
I have a Facebook application that uses the Facebook Connect.js . I am running
I'm maintaining an application that goes sort of like this: There is a Page
Maybe theres another solution to this. I built a web app that requires 5-10
I have a facebook application that was using a CFC I had found on
I have an application that integrates with Facebook using Oauth 2. I can authorize
I am creating a Facebook application that will download all the photos in an

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.