Facebook api

How to add facebook api for my application?

give me the code and the step by step program?

http://us.BlackBerry.com/developers/started/Facebook.jsp

This is an SDK for Facebook that includes an example of a program that you can model your off. I recommend looking at it and not the README file that is included, as my experience was that it was not entirely accurate or bug free.

Tags: BlackBerry Developers

Similar Questions

  • Error message or an attachment missing in Facebook API publishPost().

    Hi all

    I'm integrating Facebook in my application. I use the source provided on sourceforge.net. Until now, I had problem with FB connect, but now the problem seems to be resolved.

    But now am facing problem with publishPost() API that takes as parameters:

    publishPost (pLink pMessage String, String, String pSource, String pCaption, String pPicture, String pDescription, String pName).

    Since I do not require parameters, pMessage, pLink, pPicture and pSource to be displayed, I leave their empty i.e. sending an empty string(""). But with whom I am getting error "Missing message or attachment. Please someone tell me is Message or an attachment a field needed to be sent for validation. Thanks in advance.

    I got answer to my question. Yes send a link (attachment) for publishPost() the Facebook api, SDK is required. Otherwise, we get an error "Missing message or attachment.

  • Facebook API. Method to send a gift?

    Hello.

    I need to know which of the AS3 Facebook API method should I use to allow users to send a gift.

    I have all my system developed, to the point that the user selects his friends in a datagrid, getting their UIDs...

    I explored the SendEmail and SendNotification methods, but these aren't what I'm looking for...

    Any idea about it?

    Thank you very much.

    Hi, Ey!

    There is a very good article here: http://www.insideria.com/2009/07/send-gifts-component.html

    See you soon,.

    CaioToOn!

  • How can I integrate facebook api for bb app?

    Hello

    I have download the api facebook for blackberry.

    as I did some searching on Google I got to know that I need three things first.

    1.APPLICATION_KEY

    2.APPLICATION_SECRET KEY

    3.APPLICATION_ID

    and I got from facebook.

    There are also three other

    1.REST_URL

    2.GRAPH_URL

    3.NEXT_URL

    can anyone suggest me how the api works and where I have to make the change to make it work.

    thankx.

    There's choic name field

    Type of application: / (Native) (mobile and web)

    Here, you must select native...

  • Why can I not move the Facebook API Social buttons?

    I use Facebook for Firefox messaging and would like to move the buttons (the icon Facebook, friend, the Messages button applications button and the Notifications button) to my Bookmarks Toolbar Navigation bar, yet seem unable to change the location of these using the "Customize toolbar" window

    Maybe they're not mobile

    EDIT: They will be in a future version.

  • Authentication via Facebook API?

    Everyone works how to allow someone to create an account in an Apex application using their Facebook credentials?

    I confess that I have not watched in at all, just blue - mitigate an idea and I was wondering if it is possible.

    Thank you

    Stew

    It is important to know where to look first.

    -Authentication Plugin - Plugin of Facebook authentication

    Always start with www.apex-plugin.com

    Then move to google.

    MK

  • BlackBerry App Facebook Z10 questions

    I had a job for years facebook app and I don't have much to complain, but now there's a lot going on with the app that I don't get. After updating the app, I was not able to use it. Now, acting as a kind of shortcut for my browser, calendar, and contacts Facebook, hub is gone and it is now useless as it is now a browser shortcut. How to fix, it downgrade to the previous or how long should I wait for an update that works?

    Exactly, the Facebook for BlackBerry app has been disabled due essentially to the fact that Facebook will not allow access to what is called the BlackBerry Facebook API. Fault of Facebook and the decision. BlackBerry has created the browser shortcut.

    Details here: update required for Facebook

    There is a solution to your Facebook contacts on the device BlackBerry10: How to get Facebook on BB10 contacts

  • How to post hyperlinks on facebook

    Hi, I use a newer version of ebaskoro facebook API

    Here I want to post a message after two hyperlinks,

    I use 'properties', but it does not work.

    Thanks in advance.

    I solved my problem in the properties I want to pass the json string, here previously I don't was not converted this json string object correctly, now it's Ok.

  • Login Facebook integration

    Hello

    In my application, I need to allow users who have the FB connect. Like many of my findings, little speech as

    (1) must add the field of browser and call the URL based on that.

    (or)

    (2) install BB FB SDK and the code to connect to FB.

    My requirement is that the credentials of FB. I need not "picture Wall, like" nothing else. Can someone provide me the steps please to continue.

    Thanks in advance.

    To authenticate on Facebook, you will need to use the APIs provided by Facebook to perform the authentication. The Facebook SDK for BlackBerry can make it easier for you:

    http://us.BlackBerry.com/developers/started/Facebook.jsp

    Apart from this, you can seek to take advantage of the Facebook APIs directly yourself:

    http://developers.Facebook.com/

    Kind regards

  • BlackBerry Facebook Newsfeed Z10 does not not on Z10

    Hey guys - need help!

    I noticed a number of posts here over the past days on the application Facebook does not the news correctly. I had this problem for about 2 days, right to the point (literally) when he suddenly started working again without my nothing at all.

    Does anyone have an idea what is happening?

    The error on the screen indicates a connection failure, but all other screens are available to you (your own profile page, other pages of profiles users FB, settings, etc.), it just does not connect to the news.

    Odd, works now, but I'd like to know what the problem was / is.

    Peace and Love

    Hey jonniewaps,

    Welcome to the community of BlackBerry Support Forums.

    Thanks for the post.

    I am pleased to hear that the problem is solved.  This can result from an error in connection to the Facebook API servers.  If it happens again please let me know.

    See you soon.

  • Facebook will crash on iOS9 if we don't

    Hello

    today I received an email from Facebook that our games cease to function in iOS 9 if we don't (Needless to say, it's a beautiful ad 1 week prior to publication, given the Apple review process): https://developers.facebook.com/blog/post/2015/09/10/new-SDK-for-iOS9/

    -What is not clear is, we have to adapt these changes even if we build against the iOS SDK 8, or will have applications using the iOS SDK 8 continue to work normally?

    -I couldn't find any information which version of iOS SDK is included in the latest SDK of Air (18.0.0.199), where can I find this piece of information?

    TIA

    Ruben

    iOS applications 8 will work on iOS 9. Apple supports inheritance. They are good like that. The thing about Facebook is only if you want to use Xcode 7 & iOS 9 but I'm not sure the Facebook API. You would have to read this article.

  • Build a Facebook Like for Flash Player button, no AIR.

    Hello

    I need to have a Facebook Like button in a SWF application. It needs all the standard as button features and behaviors, including the button share and the similar meter.

    Like that.

    Facebook Like button

    Someone has solutions and or suggestions? Tutorials? Done solutions free or paid?

    Thank you!

    the first paragraph explains the easiest way to do it.

    the last paragraph provides facebook change their api javascript and break the ActionScript api facebook.

    JavaScript of Facebook API

    In this section, I'll show how would you use the the Facebook JavaScript API you can so see how to use a JavaScript API with the next hot social networking site before an ActionScript API is available or with Facebook if they change their policy cross-domain (like Twitter) file.

    Facebook has a REST API (http://en.wikipedia.org/wiki/Representational_state_transfer) they disapproved in favor of what they call their graphics API. Their graphic API looks more like a name change as a change in the peaceful principles that you can read, if you are interested in the aforementioned wikipedia page.

    In any case, without divergent in theory, you can use Facebook with http (http://developers.facebook.com/docs/reference/api/) requests. I will address that in the Google section +.

    If there is no ActionScript API for Facebook, you can use the Facebook JavaScript API to communicate between your game and Facebook.  Whether JavaScript in your SWF to html page integration. (There is a way to inject JavaScript into the html Embed page using ActionScript code, which I'll cover in the section Google +.)

    And you use the ActionScript ExternalInterface class to communicate between JavaScript in your html Embed page and the ActionScript code in your swf file. (See Fig11-08).

    Insert Fig11 - 08.tif *.

    [Diagram showing how ActionScript can communicate with Facebook.  Everything on the left is in embed html page your SWFs.]

    To simplify Facebook and ActionScript communication, I will start by explaining the ActionScript and JavaScript communication.  (See Fig11-09).

    ActionScript and JavaScript Communication

    Insert Fig11 - 09.tif *.

    [Diagram showing how ActionScript can communicate with JavaScript.]

    I need ActionScript code that sends data to JavaScript and ActionScript code that listens to the data that are sent from JavaScript to ActionScript.  Here is the ActionScript code used to send the value of the variable some_data from ActionScript to JavaScript:

    1. ExternalInterface.call("saveglobalscore",score) ("fromSWF", some_data);

    Here is the ActionScript code used to listen to the data that are sent from JavaScript to ActionScript:

    1. ExternalInterface.addCallback("IsStatic",IsStatic) ("swfF", this.fromJS);

    function fromJS(value:String):void {}

    do something with the value

    }

    To use one of the people you must import the ExternalInterface class:

    to import flash.external.ExternalInterface;

    The call and addCallback methods are static methods of the class ExternalInterface and are therefore still applied exactly as shown.  The first parameter in the method call is the name of the JavaScript function (always in quotes) and the second parameter is the data (in option), that you want to send to the JavaScript function.   Under this chapter, this second parameter should be limited to a string, an array or associative array.

    The first parameter of the method addCallback is the name of the JavaScript function (in quotes) and the second parameter is a function name in the scope (code addCallback) (no quotes).

    I also need to swfF and fromSWF of JavaScript functions.  They can be something as simple as

              return "test return of js fromSWF()."

    }

    The function thisMovie should not be changed.  It is necessary for JavaScript ActionScript communications.

    The toSWF function calls thisMovie and passes it the name of your SWF (without the quotes and swf dot suffix).  If you change thisMovie or fail to pass the correct name of swf to thisMovie and JavaScript-ActionScript communication fails.

    Annexed to thisMovie (swf_name) is the name of the function (without the quotation marks) used in the method addCallback (with quotes) ActionScript.

    In addition, for everything you need to use swf integrating code that is compatible with the ExternalInterface class.  This is the embed code sample that works with ExternalInterface and incorporates a game_01.swf.

    width = "500" height = "375" name = "game_01" align = "middle".

    play = "true" loop = "false" quality = "high" allowScriptAccess = "sameDomain".

    Type = "application/x-shockwave-flash".

    pluginspage ="http://www.macromedia.com/go/getflashplayer" > ".

    This isn't the only code that allows you to embed a swf file and work with ExternalInterface. SWFObject (http://code.google.com/p/swfobject/) can also be used to embed a swf file and it works well with ExternalInterface.

    With both methods of incorporation, you just change the swf name references, color size and back of the stage in the embed code. With the above integration code, there are four references to game_01 you should change to match the name of your swf file and your should change the width, height and the bgcolor in two places to match the background color, height and width of your swf.

    With the embed code above for game_01, the toSWF function should be

    function toSWF (value) {}

    thisMovie("game_01").swfF (value);  change game_01 to match the name of your swf file

    }

    Bringing together all that gives the following embed html file and the following ActionScript document class code.  These files are located in the management of the files/Chapter 11/facebook/fb1.

  • URGENT - Facebook connect you in Flash game

    I have a problem of application of the Flash API in my game... I tried to open one of the examples of the API, I put the last source API files in the folder and it gives me errors in the source files...

    https://code.Google.com/p/Facebook-ActionScript-API/ It's API, I tried.

    If anyone knows how to implement Facebook connect in a game, please help...

    This is an excerpt from a recently published book, I wrote (http://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Daps&field-keywords=gladstien):

    The Facebook API of ActionScript Adobe also uses the class ExternalInterface and JavaScript to communicate with Facebook, so you should always use the swf including code that is compatible with the ExternalInterface class. Adobe uses SWFObject (http://code.google.com/p/swfobject) to embed the swf file and injects the JavaScript code using xml and ActionScript. You can check the FacebookJSBridge class to see how it's done.

    At the time of this writing, the ActionScript from Facebook Adobe (version 1.8.1) code uses class JSON of Mike Chamber.  But if you are publishing for Flash Player 11 or higher, you must use the native JSON Flash class.

    The two JSON classes are similar because they are named the same and use static functions to convert to and from JSON format. When the class room JSON uses JSON.decode () and JSON.encode (), the native JSON Flash class uses JSON.parse () and JSON.stringify ().

    So, if you use Adobe Facebook ActionScript API and see

    1061: call to a method may not set encode through a reference with static type class.

    Errors, you need to replace JSON.decode () by JSON.encode () with () JSON.stringify and JSON.parse.

    To use the Adobe Facebook ActionScript API, go to http://code.google.com/p/facebook-actionscript-api and download the latest version of the GraphAPI documentation, examples, SWC files and source code.

    If you are publishing for Flash Player 11 or better, you will need to change all JSON methods in non - CFC files.  If you use swc files place source files, you will have less code to change.

    In support of the files/Chapter 11/facebook/fb2 are files that use the Facebook Adobe ActionScript API for the web. Code that uses the API is located in FlashWebMain.as.

    With only a few changes FlashWebMain.as (FlashWebExample.fla document class) is identical to the example file from Adobe with the same name. I've added details (in cbF, dialogsF and graphF) showing how to use the Facebook.ui and Facebook.api methods.

  • View the Facebook social graph to the timeline

    Anyone who has used the api facebook-actionscript-to make the social graph to users Facebook timeline updates? I love and status updates from my AIR application however faced with the open graph.

    I created Facebook app and activated open graph and added a few objects/actions/aggregators and previews (action: look, object: video).

    I connected via my AIR application, past the "publish_actions" as a permission and called graph of facebook with the url "/ me / video.watches" and a movie POST parameter: ' ' http://www.IMDB.com/title/tt0117500/ ".

    I get the error of the Facebook API: "(#200)" requires extended permission: publish_actions "."

    I couldn't find all the messages out there for Open graph/AS3 dev. anyone having similar problems or can enlighten us?

    Thank you

    FYI, I got this working now.

    In my apps open Facebook graphic section I added "publish_actions" for authenticated reference, see this article: http://onlytipsandtricks.com/facebook/facebook-application-development-with-open-graph/

    If the user is already logged in and authenticated and token generated, then the Manager click AS3 post_to_timeline_btn code is:

    var params: Object = new Object()

    params. Movie = "http://www.imdb.com/title/tt0117500/";

    params.action_token = xxxxxxxx;

    FacebookMobile.api("/me/video.watches",onTimelineUpdateStatus,params,"POST");

    Note the url of the movie has the correct setting in its HTML code, use the code to get the action in your Facebook app or see this post: http://onlytipsandtricks.com/facebook/how-to-publish-actions-on-timeline/

  • Using the API

    So I have a facebook api for example, how do I add ActionScript to an IOS app? Help, please...

    Also what is better for example twitter; an RSS feed (I think it's what his name) or an API?

    Thanks in advance for the help

    Search the AS3 libraries. Look in the documentation of these libs to see if they are mobile safe. If they do not specify it, you test real iOS on a device whether it is the mobile safe. (if this is not the case, your application will crash when you use the library)

Maybe you are looking for

  • MacBook pro 2014 randomly turns off, do not dΘmarre, unless the power button is held down.

    Seems to happen whenever itunes is running.  No warning whatsover, the screen goes black and the music stops.  The macbook turn then back unless the power button is held down for more than 10 seconds.ITunes only worked, it wasn't overheating or anyth

  • My Satellite closing with blue screen

    When I tried to turn off my computer 10 hours ago it took a long time, I pressed the characteristic "ctrl-alt-delete" but that doesn't seem to help. He was finally assigned through the ritual of saying "windows disconnects" but then I found myself wi

  • Access to the cells in report 2DTable

    Hello I'm changing the properties of individual cells in a report based on the content is it possible? For example, I'm trying to highlight the Red values that are not a specified parameter. I know that I could access the color of the font of the ent

  • How to upgrade an old vi

    I have an old application that must be updated, but I need a strategy to relaunch it. It consists of a single main vi with 6 separate loops running. (currently in Labview 8.6, go to 2011) Some loops updated indicators of analog inputs, some control i

  • I need help to solve a problem I'm having with an installatiion of set-up/repair Windows XP Home Edition service pack 3

    I have 2 computers running Windows Xp Home Edition Version 2002 Service Pack 3.  I tried to run a set-up/repair on one of them.  He loaded the files and went back to the stage of the installation.  He said at this point, it takes the file 'ASMS' of t