Get Facebook OAuth sample - birthday

I got the example of Facebook with samples of WebWorks works very well.

I want instead of saying hello "name"! user's birthday will appear instead.

So I change line 101 oauth.js of...

showMessage ('Hello' + data.name + "!");

TO

showMessage ('Hello' + data.birthday + "!");

When I try this I return undefined for birthday. How to go to the user's birthday?

Solution is to add user_birthday to line 53 allowing the application to access this data...

Window.Location.Replace ('https://www.facebook.com/dialog/oauth?client_id=' + facebookOptions.clientId + ' & redirect_uri = "+ facebookOptions.redirectUri + ' & scope = read_stream, publish_stream, user_birthday'");

Tags: BlackBerry Developers

Similar Questions

  • How can I get facebook contacts and birthdays my calendar

    I've tried everything. Disabled facebook account has failed. then the back and unfriended all 400 + friends. Still does not work. The contacts are in my phone and there is no option to delete the contact or the anniversary. If I disable the birthday icon then birthdays disappear, even the ones I put in the phone.

    Try turning off the rocker for Contacts and calendar synchronization in Settings.app-> Facebook.

  • I can't get facebook to load in my firefox browser

    I can't get facebook to load in my firefox browser, what can I do to solve this problem it will go beyond the facebook.com page something then

    animefan said

    I can't get facebook to load in my firefox browser, what can I do to solve this problem it will go beyond the facebook.com page something then

    Hi animefan

    You can add a screenshot for me please?

    See you soon,.
    Michael

  • I am unable to get Facebook on Firefox, although I used to be able to do

    I punch to the top of facebook. The screen that appears is empty. I can get facebook on Google Chrome.
    How can I fix? Thank you

    Hello

    Refresh (called "Reset" in older versions of Firefox) can solve a lot of problems in restaurant Firefox as his default factory while saving your bookmarks, history, passwords, cookies, and other essential information.

    Note: When you use this feature, you will lose all the extensions, toolbar customizations, and certain preferences. See article Firefox Refresh - reset modules and parameters for more information.

    Refresh for Firefox:

    1. Open the troubleshooting information page using one of the following methods:

      • Click the menu button

        click Help

        and select troubleshooting information. Should open a new tab containing your troubleshooting information.

      • If you are unable to access the Help menu, type Subject: support in your address bar to bring up the troubleshooting information page.
    2. At the top right of the page, you should see a button that says 'Refresh Firefox' ('reset Firefox' in older versions of Firefox). Click on it.
    3. Firefox closes. Once the update process is complete, Firefox will display a window with the imported information.
    4. Click Finish and reopen Firefox.

    This corrects the problem? Please report to us!

    Thank you.

  • After updates on l0, 26, 2015, that I can't get facebook game double down to play it darkens.

    Original title: updates

    After updates on l0, 26, 2015, that I can't get facebook game double down to play it darkens.   I also get kb9l5597 update and more

    Contact the Facebook Support with this issue.

  • Facebook oauth login

    I'm creating an application requiring a facebook connection. I'm new to this concept of oauth. I saw bb stunts oauth library in giithub but I don't know how to. I saw the twitter oauth process which does not work in the current SDK.

    I also tried qml oauth process in webview published somewhere in the forum. But I get an error as 'success'
    SECURITY WARNING: Thank you for treating the above URL as you would your password and don't share it with anyone. »


    On the change of url redirection and white lists in the configuration advanced facebook app, it works.

  • i cant get Facebook, but I can not on any other site

    I can get on every stupid website, but whenever I try to log into facebook, it won't let me!
    Why?

    Hello kaycenerichards

    Facebook is not a Microsoft product. See https://www.facebook.com/help/ for support.
  • How can I get facebook on my main page

    OK I did the punch the wrong button fo facebook error on my main page and I cannot remove it to get back to my main page, which is very important for me. Will you please delete facebook, so I can return to my home page.

    Tell facebook not Microsoft. Microsoft is not create facebook. Or if you mean your home page. Go to the options in the browser and change

  • Unable to get facebook page to load

    When I try to go to the page, connect to facebook it will not load.

    Hello

    Check with Facebook help and Support and their Forums.

    Facebook - help and Support
    http://www.Facebook.com/help.php

    Facebook - Facebook Contact and support of Facebook
    http://www.Facebook.com/help/?page=835

    Facebook - Forums
    http://getsatisfaction.com/Facebook

    ===================================================================

    Try to add to your trusted sites in IE - Tools - Internet Options - Security - Trusted Sites.
    (Remove them if no aid or no need).

    https://www.Facebook.com/

    http://www.Facebook.com/

    http://www.Facebook.com/login.php

    http://www.Facebook.com/Farmville

    What antivirus/antispyware/security products do you have on the machine? Be one you have NEVER
    on this machine, including those you have uninstalled (they leave leftovers behind which can cause
    strange problems).

    If no joy there's something blocking perhaps.

    Start - All Programs - Accessories - System Tools - IE with no Addons - what works best?

    IE - Tools - Internet Options - Advanced - tab click on restore, and then click Reset - apply / OK

    IE - Tools - Internet Options - Security tab - click on reset all default areas - apply / OK

    Close and restart IE or IE with no addons

    not better?

    IE - tools - manage Addons (for sure disable SSV2 if she's here, it is no longer necessary but Java
    installs and it causes more questions - have you never update Java to go back in and turn it off again.) Search
    other possible problems.

    Windows Defender - tools - software explore - look for problems with programs that do not look right.
    Allowed are usually OK and "unauthorized" are not always bad. If in doubt about a program, ask
    topic here.

    Could be a free - SPYBHOremover - BHO - standalone program, needs no installation, download
    and run--all are not bad but some can cause your question (toolbars are BHO).
    http://securityxploded.com/bhoremover.php

    How to change, add or remove startup programs in Windows 7
    http://www.SevenForums.com/tutorials/1401-startup-programs-change.html

    Also get Malwarebytes - free - use as scanner only.
    http://www.Malwarebytes.org/products/malwarebytes_free

    --------------------------------

    Try these to erase corruption and missing/damaged file system repair or replacement.

    Run DiskCleanup - start - all programs - Accessories - System Tools - Disk Cleanup

    Start - type in the search box - find command top - RIGHT CLICK – RUN AS ADMIN

    sfc/scannow

    How to fix the system files of Windows 7 with the System File Checker
    http://www.SevenForums.com/tutorials/1538-SFC-SCANNOW-Command-System-File-Checker.html

    Then run checkdisk (chkdsk).

    How to run check disk in Windows 7
    http://www.SevenForums.com/tutorials/433-disk-check.html

    --------------------

    Departure - in the search box, type-> order

    at the top of the list to find COMMAND - CLICK RIGHT to it - RUN AS ADMIN

    Type the following commands (or copy and paste one at a time), each followed by pressing
    Come in.

    ipconfig/flushdns

    nbtstat-r

    nbtstat - RR

    netsh int Reinitialis

    netsh int ip reset

    netsh winsock reset

    RESET

    That resets your TCP/IP stack
    ------------------------------------------------------

    Maybe using Compatibility Mode will help you.

    Introduction of compatibility view
    http://blogs.msdn.com/ie/archive/2008/08/27/introducing-compatibility-view.aspx

    http://www.Microsoft.com/Windows/Internet-Explorer/features/easier.aspx

    Some Web sites are not displayed correctly or work correctly in Windows Internet
    Explorer 8
    http://support.Microsoft.com/kb/956197

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • BlackBerry Smartphones not get facebook notifications

    Not getting not facebook notifications

    Hey steffanie1994,

    Perform the following steps, and then test to see if the notifications to work.

    • Log out of Facebook for smartphones BlackBerry from the BlackBerry smartphone.
    • Connect to the Facebook account from a computer.
    • Choose the account, privacy settings, Applications & websites.
    • Choose the Applications you are using, change the settings.
    • Choose the settings in Facebook for BlackBerry, smartphones.
    • Click remove the application.
    • Connect to Facebook for BlackBerry smartphones from the BlackBerry smartphone.
  • BlackBerry Smartphones getting Facebook updated photos

    I love the new facebook feature to draw pictures to your contacts.  Unfortunately, one of my contacts was a picture of profile "inappropriate."  He has changed his picture on facebook, but I don't know how to "update" on my blackberry storm.  He said "periodically", it connects, but how do I update the photos?

    When you bind a single friend with a contact in the contacts application, profile picture of your friend, birthday, and job information are added to the contacts application.

    1. Press the Menu key
    2. Click on friends
    3. Click on a friend
    4. Click connect to BlackBerry contact
    5. Do one of the following tasks:
    • If the friend already exists in the application contacts, click Yes or Select Contact. Click on contact.
    • If the friend does not already exist in the contacts application, click on create new.

    To disassociate a friend for a contact in the contacts application, press the Menu key. Click friends. Click on a friend. Click Disconnect the BlackBerry contact.

  • MS Facebook OAuth OAM

    Hello guys,.


    I try to incorporate MS OAM on Facebook here. Here are the configurations made by me:

    1. created an application in FB to generate a consumer key and Consumer Secret @ https://developers.facebook.com/apps

    2 basic information of the specified application "application areas" such as example.com

    3 added a website with site as platform http://oam.example.com:14100

    4 copied 'App ID' and «App Secret»

    5. the side OAM, update the profile of the identity provider Internet for FB by specifying 'Consumer Key' and 'Consumer Secret' with 'App ID' and 'App Secret' retrieved from #4

    6.

    (a) using OAMApplication as application profile

    (b) OAMServiceProviderInterface used as a 'Service Provider Interface.

    (c) Facebook selected as 'Application user attribute Vs Internet Identity Provider user attributes mapping'

    (d) in the properties of Application Profile adds the property 'colocated.oam' with value 'true' and 'oic.app.idp.oauth.token' as 'true '.

    7. protect an app with webgate OOTB OICScheme.

    8 activate "Mobile and social services" form Configuration-> Service system

    9 configure WebLogic Server for compatibility Facebook identity provider

    (a) open the WebLogic Console.

    http://host/console

    (b) select domain > environment > servers > managed server.

    (c) click on the SSL tab, and then click Advanced.

    (d) Click Lock and change the configuration.

    (e) change the hostname on any auditor.

    (f) restart the managed server.

    Question:

    1. access to the resource protected by OICScheme

    2. click on Facebook

    An error page is thrown on the popup with below exception on the managed server:


    Caused by: oracle.security.idaas.rp.RPException: java.lang.ClassNotFoundException: oracle.security.idaas.rp.oauth.provider.FacebookImpl

    at oracle.security.idaas.rp.provider.IdentityProviderFactory.getInstance(IdentityProviderFactory.java:76)

    at oracle.security.idaas.rp.provider.RPProtocolHandlerImpl.invokeAuthnRequest(RPProtocolHandlerImpl.java:81)

    at oracle.security.idaas.rp.RPInitServlet.processRequest(RPInitServlet.java:224)

    at oracle.security.idaas.rp.RPInitServlet.doGet(RPInitServlet.java:251)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)

    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:119)

    at java.security.AccessController.doPrivileged (Native Method)

    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)

    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)

    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)

    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)

    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.security.am.agent.wls.filters.OAMServletAuthenticationFilter.doFilter(OAMServletAuthenticationFilter.java:265)

    at oracle.security.am.agent.wls.filters.OAMValidationSystemFilter.doFilter(OAMValidationSystemFilter.java:133)

    at oracle.security.wls.oamagent.OAMAgentWrapperFilter.doFilter(OAMAgentWrapperFilter.java:120)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3730)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3696)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)

    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)

    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

    Caused by: java.lang.ClassNotFoundException: oracle.security.idaas.rp.oauth.provider.FacebookImpl

    in java.net.URLClassLoader$ 1.run(URLClassLoader.java:366)

    in java.net.URLClassLoader$ 1.run(URLClassLoader.java:355)

    at java.security.AccessController.doPrivileged (Native Method)

    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:423)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:356)

    at oracle.security.idaas.common.util.OICClassManager.loadClass(OICClassManager.java:193)

    at oracle.security.idaas.common.util.OICClassManager.reloadClass(OICClassManager.java:183)

    at oracle.security.idaas.rp.provider.IdentityProviderFactory.getProvider(IdentityProviderFactory.java:122)

    at oracle.security.idaas.rp.provider.IdentityProviderFactory.getInstance(IdentityProviderFactory.java:73)

    at oracle.security.idaas.rp.provider.RPProtocolHandlerImpl.invokeAuthnRequest(RPProtocolHandlerImpl.java:81)

    at oracle.security.idaas.rp.RPInitServlet.processRequest(RPInitServlet.java:224)

    at oracle.security.idaas.rp.RPInitServlet.doGet(RPInitServlet.java:251)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)

    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:119)

    at java.security.AccessController.doPrivileged (Native Method)

    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)

    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)

    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)

    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)

    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.security.am.agent.wls.filters.OAMServletAuthenticationFilter.doFilter(OAMServletAuthenticationFilter.java:265)

    at oracle.security.am.agent.wls.filters.OAMValidationSystemFilter.doFilter(OAMValidationSystemFilter.java:133)

    at oracle.security.wls.oamagent.OAMAgentWrapperFilter.doFilter(OAMAgentWrapperFilter.java:120)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3730)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3696)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)

    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)

    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

    >

    So, we finally got to do the integration. The trick here is, Facebook stopped mail as part of their response to attribute.

  • Problem getting Facebook plug-in allow LR4

    I'm trying to implement the Facebook plugin LR4.  I go as far as to connect to Facebook and clicking 'allow' in the permissions page.  LR4 then attempts to go to:

    Lightroom://com.Adobe.Lightroom.export.Facebook/...

    It does not, of course, and LR complains that he has not received the Facebook authorization token.

    Any thoughts?

    Try to copy the

    Lightroom://com.Adobe.Lightroom.export.Facebook/...

    The URL that you get when you try to authorize the LR4 on facebook.

    Then click on

    Paste the url into the box, and then click ok.

    Alto!

  • How to get Facebook notifications in the notifications bar

    Hi, Ive tried many other forums, so now I try my luck here.

    first of all the things I've done:

    went to the site main facebook.com, under settings, I checked the box that says 'facebook for android '.

    under the actual application, everything is set right, notifications of 30 minutes of interval... etc.

    restarted the phone

    uninstalled/reinstalled/re updated the app

    ------

    When I use the actual application and refresh manually, it will show me the notifications.

    However, I always get emails to my Gmail account on facebook comments and other things and nothing comes in the notification bar as it is supposed to.

    I know it's more a problem of facebook, but I failed to find help elsewhere

    Thanks for the help guys!

    Marc

    The notification thing is misleading.  The only time you will receive a notification in your notification bar is if you receive a friend request, or a message.  Mine works perfectly with the highest refresh rate when I receive them.  It will not display any notification unfortunately.

  • Why I'm all of a sudden get Facebook notifications in my email

    I have never received notification messages Facebook on my calendar by e-mail. Now, last week, I started receiving these. Why?

    It is probably a new notification option in Facebook. They want to be in your, uh, do face, as often as possible, seems.

    You might be able to create a filter in Thunderbird to throw, but it is probably easier to turn them off at the source.

Maybe you are looking for

  • Stuttering bleutooth audio stream spotify on new IOS 9.3.1

    Since a few days I experienced some very annoying problems with streaming audio of Spotify on my bluetooth radio. The music guard stuttering and it's even worse when I use my iPhone at the same time, for example, when I'm listening to music and unloc

  • The front panel on target RT properties

    LV 2013.1, RT LV 13 I have a problem similar to this post, but who finally solved a different problem. I need the elements of a cluster of TYPEDEFed labels, ranging from a RTEXE on a target of RT. This code works fine in DevSys, because the front is

  • How to keep playing the last song played after the external card refresh

    Does anyone know how to continue to play the last song played after the update of external card? Every time when I connect and disconnect the player from the PC to update some of the songs it refresh the external memory card and then play the first s

  • Upgrade to Windows 10 Error 80070002

    When you upgrade, it stops with code 80070002, any ideas? Windows 7

  • 1841 to 3030 IPSec connectivity no tunnel

    Hi all I have a Cisco 1841 router with package Adv Sec top and need to configure a static IPSec tunnel to a Cisco 3030 hub. The trick is that the interesting traffic must be THAT NAT would be through a different IP address than the IP Address of the