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 7435377
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T10:03:50+00:00 2026-05-29T10:03:50+00:00

First, about me: My language is objective-c, c++. I have built websites in the

  • 0

First, about me: My language is objective-c, c++. I have built websites in the past, but have never created any true web applications or have ever gone into the trenches with javascript.

What I am trying to do: is create a web server for the purpose of testing iPhone applications. The server will:
Host a page
In which visitors can login with facebook
Upon facebook OAuth
Server will query facebook for visitor metadata (email and full name)
And store metadata (in some format, I don’t know)

The server will also host an API (my iOS-app can talk to)
Which accepts iOS-app queries
And return stored metadata via JSON.

So my question is: How does this all work within an html document?

e.g. I can only query facebook after I know the visitor has logged in, to facebook. How do I (dynamically) let the html document know, “hey the visitor has verified with facebook OAuth, now call this inline javascript function”?

Any information you can point me to that tells me how javascript functions are called/interacts in an dynamic web environment would be greatly appreciated.

Thanks SO

  • 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-29T10:03:51+00:00Added an answer on May 29, 2026 at 10:03 am

    Look into G-WAN. It’s a powerful web application server which uses C, C++ and Objective-C scripts natively. It’s probably the best web server out there, and you’ll be on familiar ground.

    As far as your question goes, you’ll call these in your script tags. They can be anywhere, but with JavaScript, if it’s in the head, you’re going to want to wait until the DOM is fully loaded, otherwise you won’t have access to nodes which haven’t yet been rendered. That means if you’re trying to access a DIV that hasn’t been rendered, you’ll get an error.

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

Sidebar

Related Questions

I have been programming in Java (my first language) for about six months and
I'm just about to write my first application in a duck typed language (Groovy).
First of all, my ubiquitous language is PHP, and I'm thinking about learning Java.
Referring to the first answer about python's bound and unbound methods here, I have
When I first started reading about Python, all of the tutorials have you use
First I am sorry about the length of this post, but I wanted to
I learned Python as my first serious (non BASIC) language about 10 years ago.
I'm a self-taught programmer who jumped into Python as my first language about 7-8
I realize that Oz is a fairly obscure language. I first heard about it
First off I confess my ignorance, I've learned everything I know about Objective-C in

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.