Monday, November 22, 2010

Pokemon Heartgold English Desmume

Hacar application on Facebook

had been in previous entries talked about "the cloud" and things related to them.
Returning again this issue, we focus on Facebook, as many know, Facebook, born of a Harvard student who unveiled the schedule for doing this, and I saw that most people in the university, they are passed looking information and pictures of other people, and that's how all this started.

But
Every time, I will astound Facebook, since in such a short time after going online, is something most of us know and use. The power of his position as the overnight Facebook, became one of the leading competitors the web (youtube, google, myspace, etc.).
But one thing that surprised me most was the way it has for application integration, which does not spend resources to draw upon these and executing.

Explanation:
The main entrance is about making an application on Facebook, so orientare so they can make an application or to try something new.

First of all, explain how it works in Facebook applications.
These applications work through external servers, in which the programmer, left the code for this, and then when you want to run the application, Facebook is making us this refers to the server, so you can run on the Facebook page without wasting bandwidth, for this using the server.

Steps:
First of all we must go to Facebook Developers or to facebook / developers.
In the first, we read a bit about the environment that runs Facebook, check documentation, among others, the second is like an introduction here look for the button that says configure a new application.
We click and then ask us, check some facts, such is the case, as the name of the application, etc ...

Once we have done that send a screen like this:
That will give us an ID application, an API key, secret key, among other things.

What follows now is to lower the client library, which will give us an example and then we may amend this, you must register in an account from a server, as opposed to google, Facebook access our application through the server, in my case I did in http://www.000webhost.com/ , as it gives you a lot of capacity, among other things.
And now think the mind is very simple, just fill a simple form which will ask which will be your user name, password, and the name of your host.
Next, you send an email with information and clear, ask you to confirm

What follows will download a program that typical samples we manage our account on the server, so that we can make it easier to way to upload and send information.

For this, we can download a software, called FileZilla, which has a good environment and lets us access if you have multiple accounts or servers.

For fast download, we will Applications / Ubuntu Development Center, we go to the browser, and type FileZilla.
Dan
click to download and install it.

Once finished, open the program which is in Applications / Internet / FileZilla .
We will open a screen like this:
following is going to the post that we got, where we said, what was our server, user name.
And, you fill the following fields:
Once done, we connect to the server and we will display the following, indicating that the connection was successful.
From here we head to the bottom right window, this will be the place folder and documents on our server (the opposite side, this means our machine and this will help us to upload the documents that we make to climb).

The following will upload the downloaded library.
For this we click where it says public and create a folder in which the library will be uploaded.
then on the left side look for the unpacked folder of the library.
Now we are passing the folders on our server.
Before we open the index.php file and we have to change one things that will be the API key and secret key that gave us
Once done, we will also rise index.php.

Ya, giving the last adjustments, we go to the Facebook page where we have the information in your application and go to Edit hardware configuration. Then as in the image of us going to the integration with Facebook.
And what will be our way we work, I suggest you put the name of your application, to be an easy reminder, below this there is one saying Canvas URL, you will get the address of our server, and how we create a folder , we put the name of the folder.
http://abapps.webege.com/face/ (this is my server address).
And we give you save.

And presto, we run our application, so that we put into the browser address it in your browser.
I must mention that I already was doing tests on this, therefore, will look a little different from yours (Yours will say a hello world or something related). Modify

Code Here
try to guide you, so you can start building your application, helping you to pluginsde Facebooks, and "Like", a comment box, among others.
The language we are using is to php, as separate downloaded this library and is a bit more simple php and besides there are many aids online, if you get to go wrong.
The file will be modifying the index.php, and it is this is the main document or file which runs the sequence.
What we can do is go to the Facebook developers documentation.
To get to know a little more performance.
Then we go to Social Plugins, to put the button "I Like" among others.
For this we turn to the part of a picture which helps us plowing for the code.
In the part that says URL to Like, we put our address on the application, a move that other options and to oppress the Get Code button.
Then, give us a few lines of commands and these copies (take into account that the same process for the other plugins). to add to our index.php document.
and ready, we nuetra file to server, we will address the application and see how we have a button "I Like."

For now, it would take for this tutorial, I'll do more later publications related to this.

0 comments:

Post a Comment