background preloader

Getting Started with Your Facebook App on Heroku

Getting Started with Your Facebook App on Heroku
facebook Table of Contents A Facebook app typically uses an SDK to interact with the Facebook API, using Facebook’s Graph API and FQL to retrieve and post information to Facebook. A Facebook application can easily be developed and deployed to Heroku (in any of Heroku’s supported languages) which has code that interacts with Facebook’s APIs in this manner. This guide is for Facebook developers who develop and deploy their applications on Heroku. It assumes no previous knowledge of Heroku, and will walk through every part of the process: creating an app and a Heroku account, setting up local development tools, and deploying changes to your Facebook app. Prerequisites Basic Facebook app creation knowledgeBasic Git knowledgeA Heroku user account. Local workstation setup Install the Heroku Toolbelt on your local workstation. Once installed, you use the heroku command from your command shell. heroku login Enter your Heroku credentials. Workflow Creating the Facebook app Creating the Heroku app

How To: Local Facebook App Development Introduction Developing any computer application is a process that will inevitably involve many mistakes, bugs, and other trials. Indeed, half of writing an application is just testing the code to make sure it behaves correctly, and scratching your head when it doesn’t. Writing Facebook apps adds a layer of challenge to this development pattern, since you can’t exactly download the Platform and run it on your computer, and anyway with all the overhead you wouldn’t want to. (What follows assumes you’re already somewhat familiar with the Facebook Platform and the Developer Application, and, obviously, that you know how to write an application. Step 1: Preparing Your Local Environment The first part of local prep is to ensure that your local server has web server and script interpreter software installed. Once you’ve got your server operating locally, the next step in local Facebook app development is ensuring that your local server can be accessed from the external web. …And that’s it!

Heroku Toolbelt Heroku Toolbelt for Windows What is it? Heroku client - CLI tool for creating and managing Heroku apps Foreman - an easy option for running your apps locally Git - revision control and pushing to Heroku Getting started Once installed, you'll have access to the heroku command from your command shell. Log in using the email address and password you used when creating your Heroku account: $ heroku login Enter your Heroku credentials. You're now ready to create your first Heroku app: $ cd ~/myapp$ heroku create Creating stark-fog-398... done, stack is cedar | git@heroku.com:stark-fog-398.git Git remote heroku added Technical details The heroku client will be installed into C:\Program Files\Heroku and will be added to your %PATH%.

Code Space: Combining Touch, Devices, and Skeletal Tracking to Support Developer Meetings Code Space: Combining Touch, Devices, and Skeletal Tracking to Support Developer Meetings Andrew Bragdon, Robert DeLine, Ken Hinckley, and Meredith Ringel Morris November 2011 We present Code Space, a system that contributes touch + air gesture hybrid interactions to support co-located, small group developer meetings by democratizing access, control, and sharing of information across multiple personal devices and public displays. In Proceedings of ITS 2011 Publisher ACM business to go online! Dukkan Online Business by AJ Management Consulting is a state-of-the-art, affordable, easy-to-use, hosted Online Business system created with Adobe® Technology Dubai, United Arab Emirates, Middle East

Send Email Using Rails Advertisements Action Mailer is the Rails component that enables applications to send and receive e-mail. In this chapter we will see how to send an email using Rails. So lets start with creating a emails project using following command. This will create required framework to proceed. Now we will start with configuring Action Mailer. Action Mailer - Configuration Following are the steps you have to follow to complete your configuration before proceeding with actual work: Go into config folder of your emails project and open environment.rb file and add the following line at the bottom of this file. This tells ActionMailer that you want to user SMTP server. Add the following lines of code to the bottom of your environment.rb as well. Replace each hash value with proper settings for your Simple Mail Transfer Protocol (SMTP) server. You may also change the default email message format. ActionMailer::Base.default_content_type could be set to "text/plain", "text/html", and "text/enriched".

fb:name - Développeurs Facebook GET /me HTTP/1.1Host: graph.facebook.com /* make the API call */ $response = $facebook->api( "/me");/* handle the result */ /* make the API call */ FB.api( "/me", function (response) { if (response && !response.error) { /* handle the result */ } }); /* make the API call */[FBRequestConnection startWithGraphPath:@"/me" parameters:nil HTTPMethod:@"GET" completionHandler:^( FBRequestConnection *connection, id result, NSError *error ) { /* handle the result */ }]; /* make the API call */new Request( session, "/me", null, HttpMethod.GET, new Request.Callback() { public void onCompleted(Response response) { /* handle the result */ } }).executeAsync(); curl Permissions The /{user-id} node has more complicated permissions requirements than other nodes in the Graph API: There are a number of fields called the public profile which are always available with no access token. Fields

Swiffy As part of our transition of display ads to HTML5. the Swiffy Flash conversion tool is no longer available. We will continue to serve the Swiffy runtimes, so any files you have already converted will continue to play. Today more consumers are using the web in HTML5 compatible environments than Flash-compatible environments. In order to reach as large an audience as possible, we encourage everyone to transition to HTML5 authoring. Developers who currently create Flash SWF files have several ways to switch to HTML5 including Adobe Animate and Google Web Designer. موقع الكرتون العربي

Related: