This Forum has been archived there is no more new posts or threads ... use this link to report any abusive content
==> Report abusive content in this page <==
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Simple Facebook app question?
03-31-2014, 06:05 AM
Post: #1
Simple Facebook app question?
Hello,

I have a simple form inside a php page of a facebook app that posts a query to itself, and I try to access that query using $_GET['query']. However, the submit button just reloads the page without any effect on the query.

Please help, this is my first php web app.

Ads

Find all posts by this user
Quote this message in a reply
03-31-2014, 06:13 AM
Post: #2
 
ok when you start passing parameters within a facebook app to itself & if that happens to be the index page or something. Facebook Just removes your params & add their own Info that needs to be pass to your application. This ofcourse only happens if you are on a Canvas Iframe. you could although use the PHP SDK to make an independent page that connects to facebook through their API Smile

or you should probably put an iframe in the same page you are on and set forrm target="iframe_name"
and do the rest with Javascript.
another way to do it is to use. AJAX with Javascript.

Ads

Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)