Create Oauth signituare for twitter in as3?

Hi,
Since twitter locked down the api, im finding it really hard to grab the data I want.I need to use Oauth.
Because I dont actually need to link a twitter users account to my application (only the applications twitter account) it makes things a little easier as the twitter application page will create an access token and a access token secret for it. So I have those variables.
All i need to do is to create the signature which seems incredibly difficult.
https://dev.twitter.com/docs/auth/creating-signature
Does anyone no of a class/swc that I can push the required variables to and have it create the signature for me?
Thanks
Aidan

you can use Tweetr (http://wiki.swfjunkie.com/tweetr), but if you get security sandbox errors you'll need to download the source files and you'll need to edit the source files.  instead of loading cross-domain data using urlloader, use a gateway php file that does the cross-domain loading:
<?php
$requestURL = $_POST['requestURL'];
$cr = curl_init($requestURL);
curl_setopt($cr, CURLOPT_RETURNTRANSFER, true);
$returnS = curl_exec($cr);
curl_close($cr);
echo $returnS;
?>

Similar Messages

  • Creating a mute button for video in as3

    I would like to create my own mute button in as3. I have created a video object which plays my video fine. I'm having trouble finding information on how to create a mute button that mutes the audio but the video continues to play. All documentation that I've read relates to controlling sound from an loaded .mp3 file. Does anyone know how I can do this? The gotoandlearn.com site explains it using as2 only.
    Thanks

    I figured it out:
    sound_mc.addEventListener(MouseEvent.CLICK, soundOFF);
    function soundOFF(e:MouseEvent) {
         var transform:SoundTransform = new SoundTransform();
         transform.volume = 0;
         stream.soundTransform = transform;
    Thanks for all your help on this. You'll probably see more of my post as I struggle with AS3 and my flash project.

  • Plsql client for twitter api (using oauth)

    Hi,
    I am probably being a bit optimistic, but does anybody have a plsql client for twitter that will allow me to post status updates from oracle? I found this http://somecodinghero.blogspot.com/2010/09/updating-twitter-from-database-using.html, but it doesn't work, simply giving me 401 Unauthorized whenver I try.
    Make my day? Please?
    Thanks
    Ralph

    So.... Are you ready? Let's go.....
    Twitter Part:
    1. Acess https://dev.twitter.com
    2. Login
    3. Create New Application
    4. Fill out the data requested by twitter(and create application).
    5. Click button "Create my acess token".
    6. Copy Consumer key     ,Consumer secret     ,Access token     ,Access token secret     to Notepad++(or elsewhere).
    7. Click the Tab Settings, and change Application Type to "Read, Write and Access direct messages". click the "Update..."
    After installing DB and verified that you have Java 1.5 in your local machine and downloaded twitter4j jar.
    1. Open Jdeveloper(i'm working with 11.1.2.1.0)
    2. Create a new Application. Create a java Class with:
    package client;
    import twitter4j.*;
    import twitter4j.conf.ConfigurationBuilder;
    public class TweetMeMan {
        public static String sendTweet(String msg, String sOAuthConsumerKey, String sOAuthConsumerSecret, String  sOAuthAccessToken, String sOAuthAccessTokenSecret ) {
            String result = "Ok";       
            try {
                ConfigurationBuilder cb = new ConfigurationBuilder();
                cb.setOAuthConsumerKey(sOAuthConsumerKey);
                cb.setOAuthConsumerSecret(sOAuthConsumerSecret);
                cb.setOAuthAccessToken(sOAuthAccessToken);
                cb.setOAuthAccessTokenSecret(sOAuthAccessTokenSecret);           
                TwitterFactory tf = new TwitterFactory(cb.build());
                Twitter twitter = tf.getInstance();
                Status status = twitter.updateStatus(msg);
                System.out.println("Successfully updated the status to [" + status.getText() + "].");
            } catch (Exception e) {
                System.out.println("Error : " + e.getMessage());
                result = e.getMessage();
            return result;
    }3. Click Project Settings and in Libraries add twitter4j(version).jar
    4. Compile project. No errors? Nice.... Errors? Check the log and fix them ;)
    5. Create a New Deployment Profile
    5.1. Profle Type : Jar File
    5.2 Deployment Profile Name : vrodriguestweet (in my case)
    6. Deploy the vrodriguestweet (it will save de jar file in deploy folder)
    7. Open command line (cmd.exe)
    8. Write
    loadjava -r -f -o -user vrodrigues/yourpaswword@YourDB your_location_of_the_jar_created_above\vrodriguestweet.jar9. Open Sqldeveloper(or sqlplus) and check if there is under Java this name exists : client/TweetMeMan
    9.1 client is the java package i created the java file.
    10. Now let's create the function:
    CREATE FUNCTION letsTweetVR (p_message varchar2, p_OAuthConsumerKey varchar2, p_OAuthConsumerSecret varchar2, p_OAuthAccessToken varchar2, p_OAuthAccessTokenSecret varchar2  )
       RETURN VARCHAR2
       AS LANGUAGE JAVA
       NAME 'client/TweetMeMan.sendTweet
         (java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String) return java.lang.String';   10.1. No errors? Amazing....keep going you are almost there...
    11. Let's tweet:
    BEGIN
      DBMS_OUTPUT.PUT_LINE(letsTweetVR('Tweeting from database...Awesome, right?',
                                              'your_OAuthConsumerKey',
                                             ' your_OAuthConsumerSecret',
                                             'your_OAuthAccessToken',
                                            'your_OAuthAccessTokenSecret')
    END;Of course you can do this inside a package or passing the values from some interface.... And you can also do other things that twitter4j does... Like Search for Tweets and so on and so on. ;)
    Did someone like this? Or i'm an idiot? : D
    All credits goes to the developer of twitter4j....
    P.S Remember that this is my first usage of java in DB...so if you can do better, please advise ;)
    P.S.1. I will blog this with entire full steps.... just trying to get the time for it :/
    https://lh6.googleusercontent.com/-ktXgF_N5rQU/Tz0hx8cEbgI/AAAAAAAAA-s/LOoTf_5pnd0/s864/twiiter.png
    Edited by: Vitor Rodrigues on 16/Fev/2012 15:46

  • What is the right Call Back url for twitter OAuth in BlackBerry eclipse plugin 9550 simulator

    Hi friendz
    Being optimistic to get the proper help regarding the "Call Back" Url for twitter, I'm here. Actually I'm implementing 
    "TwitterAPIME-RIM-OAuthSample" for twitter. Here I am feeling helpless when callback url has been asked.
    I read somewhere that call back url is not required for java me. But here after putting my credentials in web view, I can't return back to my app as I'm passing "" in callback url param(as I think).
    How to handle this thing... please suggest me??

    CallBack URL is the url where the twitter redirects after successful authentication. The callback url can be a webpage that builds in any web tech like php etc. for the application. Then the mobile app moves to that redirected page after successful authentication. We can set www.google.com as Callback Url. In that case we need to check the url in the onPageStarted method of the WebViewClient as to finish the webview otherwise it redirects it to www.google.com.
    if (uri != null && uri.toString().startsWith(TwitterConnector.CALLBAC​K_URL)) {
     finish();

  • How can I create a log for the dice roll generator on my website?

    Here is my website: http://gator789.hostgator.com/~stillman/index.html
    I want to create a log for each time the roll button is clicked to generate a random image of a six-sided die on my website. I was thinking maybe a MySQL database with PHP would get me what I want? I have no idea how I would start setting this up though. I don't want to sound to pushy here, but I would also like to have a form setup above the roll button for name details, etc. How would I go about doing this?

    I don't understand why you need a log to generate a random number.  The logic behind a random javascript image generator with a math function is all you need.  Put your gif images into an array and let the script do the rest.
    http://eposic.org/samples/dice/part1.php
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com

  • How to embed and launch ipa file from another ipa package created using Air for iOS

    Hi Guys,
    Anybody out there knowing how to embed and launch ipa file from another ipa package created using Air for iOS ?
    I am having 1 ipa file created using Xcode, Now i need to include that file in my ipa Package which is created using Flash CS 5.5 and Air for iOS. Also i need to know how to open my 1st ipa file from AS3 ?
    Thanks,

    Hi Sir,
    Thanks for your reply.
    But in that case user need to download 2 applications right. I need user to download my parent application created using Flash and that package contain one more ipa created using Xcode, so from my parent app only user should able to open my 2nd app. Is there any way to do that?
    Ps:  I am not talking about in-app but 2 individual apps inside one package.

  • Yoga 11 - can not create an account for the App store,

    I can not create an account for the App store, I live outside of the USA and the only address option is in the USA. Can you help me
    Moderator Note: Edited subject to match content.

    Hi
    Welcome To Lenovo Community
    We are really sorry to hear about the issue you are facing,
    I have verified the Microsoft windows 8 app store has different regions listed
    And you can connect app store using an existing Microsoft account like Hotmail, msn etc.
    Please refer below link
    http://windows.microsoft.com/en-US/windows-8/explore-windows-store#1TC=t1
    Also if you can share the link or screen shot of the app store to help you further
    Do give this a try and let us know  
    Hope This Helps
    Cheers!!!
    WW Social Media
    Important Note: If you need help, post your question in the forum, and include your system type, model number and OS. Do not post your serial number.
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"!
    Follow @LenovoForums on Twitter!
    How to send a private message? --> Check out this article.
                            English Community   Deutsche Community   Comunidad en Español

  • Error occured while creating site collection for the first time in SP2013

    While creating a new site collection in SharePoint 2013, I need to do atleast 4 times " Go back to Site" begore it appears properly. Could you please let me know why this error is occuering while we create site collection for the first time.
    Is it aknown issue or due to RAM contraints.I am using 16 GB of RAM in Web tier.

    You can get by with 16 GB of RAM so I am guessing that is not the cause.  Although, you could verify your memory utilization during the process.  As long as you don't exceed 95% you should be fine.  Next time, I would instead look up the
    error in the ULS logs using the correlation id and see if you can get more details of what is causing the error.
    Corey Roth - SharePoint Server MVP blog:
    www.dotnetmafia.com twitter: @coreyroth |
    SP2 Apps

  • Connection untrusted for Twitter even after addition of security exception

    I use Firefox on my office computer behind a company firewall and a server re-issuing security certificates for secure sites. Like for many other users, normally this only leads to the annoyance of having to add security exceptions for https sites manually. However, for Twitter.com, even that won't work. First I got the connection not trusted message with "The certificate is not trusted because no issuer chain was provided". Then I enabled browser.xul.error_pages.expert_bad_cert, but all that happened was that the error message reloaded.
    I tried deleting the certificate, the cookie, cache, history, the cert8.db file, and also tried it in secure mode with all addons disabled, still no luck. I had no such problem with IE9 on the same computer or Firefox on my home computer (Windows XP) or on my Android tablet.

    Hi Daneelro3,
    Thank you for your question, I understand that there is difficulty with creating a certificate that is not allowing Twitter, I have asked the security irc channel for more information for troubleshooting this and will be back shortly with more information.

  • How to create a report for open sales orde documents which are not invoiced

    Hi Experts this is urgent,
    +pls give the Logic for document flow+
    My requirement is create a report for sales orders which are not invoiced  using the following table.
    VBAK : sales order header
    VBAP : sales order item
    VBFA : sales document flow
    VBUK for processing status
    KOMV for duties value and sales order value
    LIKP : delivery not header
    LIPS :delivery note item
    For information : In the header level the processing Status is indicated in the table VBUK field LFSTK for one sales order number. A,B , C are the possible entries.
    Case A : When a sales order is invoiced we can display information on the header status :
    Overall status : Completed  and display a invoice number in the document flow. When the items of the sales orders are invoiced the process status is the following :  Overall status       Completed            
    Delivery status      Fully delivered      
    Case B : An open sales order not delivered and not invoiced will have overall status : Open on the header and item level and will not have subsequent documents.
    Case C :
    When the items for the sales order are delivered but not invoiced the status will be u201Cfully deliveredu201D
    And the subsequent documents will be delivery notes and good issue if the delivery note is issued.
    With regards
    ravi
    Edited by: ravik ravik on Jun 25, 2008 3:29 PM

    Hello Ravi,
    U neednot develop any report..
    there is std report with txn V.02
    or copy this and make necessary changes.
    Reward, if helpful.
    Rgds,
    Raghu.

  • Error while creating a query for my custom infotype

    Hi,
    I have created a custom infotype with fields currency amount and currency field .
    While I am creating a query for it its giving an error
    Message no. AQ_AD_HOC221 Error when generating the report(see long text )
    I tried to execute the standard program RPUMS40CCI but still I am facing same error .
    I have also maintained table T777i for my infotype but still problem exists.
    Please help.
    P

    Hi
    Check in PM01

  • Error while creating a task for creating an generic task  /app/dac/CustomSQ

    Hi ,
    I have created a sql file in DAC server /app/dac/CustomSQLs/ ,just to fire an update sql in database
    In DAC task tab i have created a task with the following:
    Command for incremental load :/app/dac/CustomSQLs/DBNameBeforeLoad.sql
    Primary source :flatfileconnection
    target source:DBCONNECTION_OLAP
    Execution type:SQL FILE
    Task phase:GENERAL
    I created subject area and assembled ,then created a Execution plan.
    When i try to execute this EP ,it shows the following error in DAC log:
    ANOMALY INFO::: Error while creating a task for creating an generic task /app/dac/CustomSQLs/DBNameBeforeLoad.sql
    MESSAGE:::/app/dac/CustomSQLs/DBNameBeforeLoad.sql - invalide template name!
    EXCEPTION CLASS::: com.siebel.analytics.etl.etltask.TaskInitializationException
    com.siebel.analytics.etl.etltask.SQLFileTask.doInit(SQLFileTask.java:69)
    com.siebel.analytics.etl.etltask.GenericTaskImpl.init(GenericTaskImpl.java:194)
    Does my above configuration is correct ..?

    verify the following settings:
    1. mapping of ECC plant and storage location and logical system number with the appropriate availability group code since this links the stock types in EWM to ECC org elements (SPRO -> EWM -> Interfaces -> ERP Integration -> Goods movement)
    2. ensure the availability group configuration is correct (SPRO -> EWM -> GR Process -> Configure availability group for putaway) - check all applicable nodes in this configuration since the availability group code is assigned in the pertinent storage types

  • Issue in creating a dropdown for Industry sector field

    Hello Gurus,
    Am trying to create a dropdown for Indusry field. 3 dropdown should come up for Industry sector field namely primary,secondary and tertiary.Corresponding to the value selected in primary,data should come up in Secondary and corresponding to value selected in secondary ,data should up in tertiary.Am only able to fetch the value at first instance but corresponding values are not coming up secondary and tertiary.I have followed the procedure that had to be followed in order to make a field as dropdown.Can anyone Please help.
    In get_v , i have added this code.
    DATA:  lt_ddlb  TYPE          bsp_wd_dropdown_table,
               wa_ddlb  LIKE LINE OF  lt_ddlb.
    DATA:
              lr_entity1         TYPE REF TO if_bol_bo_property_access,
              lv_index           TYPE sytabix,
              lr_collection      TYPE REF TO cl_bsp_wd_collection_wrapper,
              lv_high_ind_sector TYPE string,
              lv_istype          TYPE string.
        CLEAR: wa_ddlb, lt_ddlb
        lr_collection = me->GET_COLLECTION_WRAPPER( ).
       lv_index =   lr_collection->get_current_index( ).
      IF lv_index = 1.
    lr_entity1 ?=  lr_collection->find( iv_index = lv_index ).
            lv_high_ind_sector = lr_entity1->get_property_as_string( iv_attr_name = 'INDUSTRYSECTOR' ).
          lv_istype = lr_entity1->get_property_as_string( iv_attr_name = 'INDUSTRYSECTORKEYSYSTEM ' ).
          CLEAR: lv_high_ind_sector.
    ELSE.
          lv_index = lv_index - 1.
          lr_entity1 ?=  lr_collection->find( iv_index = lv_index ).
          lv_high_ind_sector = lr_entity1->get_property_as_string( iv_attr_name = 'INDUSTRYSECTOR' ).
          lv_istype = lr_entity1->get_property_as_string( iv_attr_name = 'INDUSTRYSECTORKEYSYSTEM ' ).
        ENDIF.
        SELECT aspras aind_sector atext INTO CORRESPONDING FIELDS OF TABLE GT_IND_SECTOR FROM tb038b AS a INNER JOIN tb038a AS b ON  bistype = a~istype
    AND bind_sector = aind_sector
    AND b~istype = lv_istype*
    AND b~father_sec = lv_high_ind_sector.
      Loop at GT_IND_SECTOR into wa_ind_sector.
          wa_ddlb-key   =  wa_ind_sector-ind_sector.
          wa_ddlb-value =  wa_ind_sector-text.
          Append wa_ddlb to lt_ddlb.
        endloop.
        IF lt_ddlb IS NOT INITIAL.
          INSERT INITIAL LINE INTO lt_ddlb INDEX 1.
        ENDIF.
        IF GR_DDLB_INDUSTRY_SEC IS NOT BOUND.
          CREATE OBJECT GR_DDLB_INDUSTRY_SEC
            EXPORTING
              iv_source_type = 'T'.
    IF sy-subrc = 0.
            GR_DDLB_INDUSTRY_SEC->set_selection_table( it_selection_table = lt_ddlb ).
    ENDIF.
    ENDIF.
    rv_valuehelp_descriptor =  GR_DDLB_INDUSTRY_SEC.

    Hello,
    Not sure I understood your requirement 100%, but kindly check the following thread where a question on How-to make dropdown list values dependent has already been answered:
    How to link the first Drop down values witht the second Drop down Values
    Regards,
    Nicolas Busson.
    PS: also it would be good to know your CRM version... because I thought this thread was posted in the WebClient forum, but it's not.

  • Creating search help for a field in AdHoc Query

    Hi
    We have created an infoset based on LDB PCH.
    (The infoset contains object type O only).
    For the object-id field the users want search help when choosing this field for selection.
    Using "start via selection screen" does not give a good solution.
    Can anyone explain how I can create search help for fields in an infoset?
    Regards
    Kirsten

    Hi
    We have created an infoset based on LDB PCH.
    (The infoset contains object type O only).
    For the object-id field the users want search help when choosing this field for selection.
    Using "start via selection screen" does not give a good solution.
    Can anyone explain how I can create search help for fields in an infoset?
    Regards
    Kirsten

  • Help. I'm trying to create a DTP for 0INDUSTRY texts

    I'm trying to create a DTP for 0INDUSTRY (texts), but when I assign the DataSource (0INDUSTRY_TEXT), it shows me the next error message: "Target 0industry (type IOBJ) is not active".
    Of course I've checked 0industry and it is already active!
    I have the same issue with several characteristics.
    Do somebody knows what can I do?

    Hi,
        Try comin out of rsa1 transaction and then going back in...else login and logoff.  Its generally happens that the changes dont get reflected and it then shows that error.
    assign points if helpful
    Regards.

Maybe you are looking for

  • Link Between One PDF to another PDF

    Hi, Could you please explain on how can we link between one PDF to another PDF. I have 2 PDF files which are Online Interactive Adobe forms. Regards, Maruti

  • Is it possible to retrieve text messages if you accidentally delete the contact?

    I accidentally deleted a contact in my text messages and I want to retrieve the old associated texts.  Is there a way to retrieve them?

  • Got a way to remove inbuit app in asha 311

    I have a way to remove the inbuit app. Just you have to download the same app from Nokia stores which you want to remove. Now arrange them side by side. And now delete the app which you downloaded.. When you have deleted the app the RED CROSS sign wi

  • Firefox will not open and keeps crashing when I attempt to open it, why?

    I have had several crash reports sent to me by firefox and I have not gone to any sites that I don't normally go to. I want to know why it keeps to this and what I need to do to get this situation fixed. I have sent crash reports and uninstalled/rein

  • Oracle passwords on OS

    We are no longer allowed to use ops$ accounts for our unix jobs to log into Oracle. We need to use passwords. Does anyone know a good way to put the passwords on the unix operating system or somewhere that only the jobs can see them and someone who l