Regarding the usage of Twitter references in Windows Phone 8 apps

 private void LoadFromTwitter(string CelebrityLink)
            var service = new TwitterService("LYTy3T8P556GxqRymimhwA", "5TSKipEjESOAcdBsViWm2E1RVxFEN1Ooh0nRwIj7RsY");
            if (p.getAccessToken() != null)
                string[] Tokens = new string[2];
                Tokens = p.ReturnTokens(p.getAccessToken());
                if (Tokens[0] != null)
                    service.AuthenticateWith(Tokens[0], Tokens[1]);
                    service.ListTweetsOnUserTimeline(new ListTweetsOnUserTimelineOptions() { ScreenName = CelebrityLink }, (ts, rep) =>
                        if (rep.StatusCode == HttpStatusCode.OK)
  Deployment.Current.Dispatcher.BeginInvoke(() =>
                                foreach (TwitterStatus si in ts.Take(2))
                                    TwitterList.Add(si);
In the above code snippet iam getting error at the Bolded part
Errors are:
Error 116
Cannot convert type 'TweetSharp.TwitterStatus [TweetSharp.WindowsPhone.dll]' to 'TweetSharp.TwitterStatus [TweetSharp.WindowsPhone.Mango.dll]'
Error 115
Cannot convert lambda expression to type 'System.Delegate' because it is not a delegate type
Please help me in solving this errors . I have used 
TweetSharp.WindowsPhone.dll
TweetSharp.WindowsPhone.Mango.dll as references
Mohan Rajesh Komatlapalli

You should only reference one of these dlls. 
Jeff Sanders (MSFT)
@jsandersrocks - Windows Store Developer Solutions
@WSDevSol
Getting Started With Windows Azure Mobile Services development?
Click here
Getting Started With Windows Phone or Store app development?
Click here
My Team Blog: Windows Store & Phone Developer Solutions
My Blog: Http Client Protocol Issues (and other fun stuff I support)

Similar Messages

  • Help needed regards the usage of STL.....with CC

    Hi All,
    I am relatively new to SOLARIS. I am trying to figure out the options for using the STL components in the project.
    The project needs to be compiled with both CC ang g++, should support both SOLARIS and LINUX systems. That's why i am going for STL components rather than using the RW-Components of Tools.h++.
    I have the following doubts regards the usage of STL.
    CC provides the -library option to link the libraries we require.
    The following is what i understood from the documentation:
    No ( -library ) option provides - default libraries included -lCstd -lCrun -lm -lw -lcx -lc+
    -library=iostream+ - libraries included -liostream -lCstd -lCrun -lm -lw -lcx -lc+
    -library=iostream,no%Crun+ - libraries included -liostream -lCstd -lm -lw -lcx -lc+
    -library=stlport4+ - libraries included -lstlport4 -lCrun -lm -lw -lcx -lc+
    -library=iostream,no%Cstd+ - Invalid combination, some header files missing [[ *iostream, sstream* ]]
    When we try to make a new project, which of the following is recommended?
    #! - Use libCstd suppplied along with solaris package.
    When solaris makes a new release, is it always guaranteed that project is compatible with new libCstd ? (Is there a backward compatibility?)
    The STL components which can be used in the project are limited. i.e we can use only those that come along with libCstd.....right?
    Might not be compatible with other c++ compilers. ( Not compatible with g++ ) Right?
    #2 - Use libCStd along with libiostream
    Can we use STL (supported by libCstd ) + Classic-iostreams and still have the backward-compatibility?
    Compatible with other C++ compilers....provided care has been taken of the CC STL Specializations. ( Compatible with g++ ) Right?
    #3 - Use stlport4. Is it stable and backward-compatible ?
    We can exploit usage of STL to the maximum.
    Is it guranteed that the project (using -library=stlport4 ) will be backward compatible ?
    Can the SunStudio (ORACLE) organization gurantee that stlport will take care of the changes in the CPP standards ?
    i.e Is it guranteed that STLPORT and SUN-STUDIO packages will always be in sync?
    Among the above three which is preferred method to go ensuring stability and backward-compatibility.
    Thanks in advance.
    Cheers,
    Sreekar
    Edited by: 855323 on 20-Oct-2011 04:04
    Edited by: 855323 on 20-Oct-2011 04:04
    Edited by: 855323 on 20-Oct-2011 04:06

    In general, you don't need any options to use the C++ Standard Library (which includes what is sometimes loosely called the "STL"). Consider this toy program:
    // file vec.cc
    #include <vector>
    #include <iostream>
    int main()
        std::vector<int> vi(10);
        vi[1] = 1;
        std::cout << "vi[1]=" << vi[1] << '\n';
    }You can compile and run the program as either
    CC  vec.cc && a.out
    g++ vec.cc && a.outWith CC, by default you get the original libCstd. You use the -library option to select STLport or (on or selected versions of Solaris) Apache stdcxx instead. With g++, you just get the g++ library libstdc++, which should be suitable for all purposes.
    For a discussion of which library to select with CC, see this thread:
    Differnce between LibCstd and LibStlport
    The optional libiostream is provided to provide support for programs written for the very old version of iostreams that was provided with the original AT&T Cfront compiler in the 1980's and early 1990's. There is usually no reason to use this obsolete library with code written after 1998.
    The Solaris libCstd.so.1 (and libCrun.so.1) is always compatible with various releases of Studio, with one caveat: Each Studio release specifies the minimum patch level of Solaris libraries that is required to run programs created by the compiler. Any newer version of the library is guaranteed to be compatible. Thus, it is always safe to update the library, and an update might be required when using binaries created by a newer compiler.
    A version of the STLport library ships with the compiler. C++ binaries created by an older compiler that link to libstlport.so.1 should still work when linked into a program created by a newer compiler. Use of the static libstlport.a is generally not safe when mixing binary code from different compiler releases.
    Binaries created by Studio CC in default mode are not compatible with binaries created by g++. Even if you can get a program to link, which is doubtful, the program is not likely to run correctly.
    Studio CC does provide a g++ compatibility mode as follows:
    On supported versions of Linux with Studio 12.2 (C++ 5.11).
    On Solaris/x86 and supported versions of Linux with Studio 12.3 (C++ 5.12).
    In this mode, CC uses the g++ headers and the g++ runtime libraries.
    Refer to the -compat=g option in the C++ Users Guide for details.
    We plan to support the new C++ Standard, C++11, in a future compiler release. Because the ABI (binary interface) used by the current compilers is not adequate to support all the new features in C++11, we expect binaries built in C++11 mode to be incompatible with binaries created by earlier compilers. None of the existing C++ support libraries will be used in C++11 mode. A new library that provides full C++11 support will be used instead. We expect the new compiler to continue to provide the current C++03 mode as an option, being source and binary compatible with our earlier compilers.
    Edited by: Steve_Clamage on Oct 20, 2011 10:00 AM
    Edited by: Steve_Clamage on Oct 20, 2011 1:29 PM

  • Is it possible to Silent Push a Managed Windows Phone App from the Store?

    Is it possible to silent push a Windows Phone app from the Store? We have a requirement to install a couple of apps after enrollment. Some of those apps are in the Store some are Enterprise apps.
    Thanks,
    Mark Monster
    Mark Monster Silverlight MVP

    Hi,
    No it is not currently possible, In Windows 10 a new business portal will be introduced that should solve this.
    Regards,
    Jörgen
    -- My System Center blog ccmexec.com -- Twitter
    @ccmexec

  • Application Insights is not recording any data from the released version of my Windows Phone app

    I released my first Windows Phone app a week ago, and Application Insights worked perfectly to collect usage data whilst in a debug build. However, the released version of the app is not returning any data at all. Is this a common problem for new apps or
    is there a problem that I need to address?
    I configured Application Insights for my app using the information on this guide - http://msdn.microsoft.com/en-us/library/dn509554.aspx
    Any ideas or help would be greatly appreciated, thanks for your help.

    Hi Bernard, thanks for your reply.
    I tested the data using a release package of the Windows Phone app deployed directly to my phone from Visual Studio and the data appeared after around 10 minutes. However, once I published the exact same package to the Windows Phone Store and started using
    the version downloaded from the store, no usage data has been uploaded even after several days of waiting.
    I am using SDK 0.7.1 and Application Insights Tools for Visual Studio v1.3.2. The app is built for WP 8.0 and running on WP 8.1.
    The instrumentation key is 757eeaff-605e-44a2-8eaa-6abf498bfcf5.
    Thanks for your time and help, I really appreciate it.
    Dan

  • How to add assembly reference in Window Universal App project?

    Hello All,
    Thanks for reading my question. I'm migrating a Windows Phone project into the new universal environment, but I'm missing a place to add the assembly reference for the code. One instance that is, I'm using System.Net.Sockets, but it says "Sockets does
    not exists in the namespace 'System.Net' (Are you missing an assembly reference?)". So do the case of Background.
    In the old version, I can add the reference from right click on the "References" from the Solution Explorer, but it is not working in the Universal one.
    Appreciated all your comment and support.
    Vincent

    Hi,
    Visual Studio Unit Testingforum is to resolve visual studio unit tests issues. Your issue is about you can’t
    an assembly reference in universal app after you migrated a windows phone project to an universal environment, it is not in our scope, I suggest you to consult on Windows and Windows Phone apps forum:
    http://social.msdn.microsoft.com/Forums/en-US/home?category=windowsapps for better support.
    Thanks,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Why am I getting the message "Your app isn't identified as a universal app in the Store." when I have already associated my Windows Phone app to my Windows Store app?

    I associated two Windows Phone apps to their respective Windows Store apps yet one of them is giving me this message on the pricing tab...
    "Your app isn’t identified as a universal app in the Store. Publish a Windows app with the same name, and you’ll enable the universal app icon, with all the associated benefits. If you’ve already published a related Windows app, this icon may not 
    be appearing because of restrictions you’ve set on your app.
    Learn more about  these restrictions."
    I have checked under "Learn more" and I am meeting all the requirements for the icon to show.  Please help as I really think having this icon on the Phone store will help downloads and I want my users to know there is a Windows partner app.
    RBL3

    I downloaded the new OS X Yosemite.
    Not sure what you mean by new, since Yosemite was released about 9 months ago.
    When i  try to open it i get this message, The version of iPhoto installed on this Mac is not compatible with OS X Yosemite.
    iPhoto version 9.6.1 is the latest version of iPhoto that is compatible with Yosemite. If you're just now updating to Yosemite from an older version of OS X, then you may have missed your window of opportunity to upgrade iPhoto to the latest version.
    So i go to the Mac App Store i get this message, "The item you've requested is not currently available in the U.S. store."
    With the release of the 3rd Yosemite update,10.10.3, which includes Photos, iPhoto is no longer available for purchase.
    I would recommend that you use Photos.

  • Lumia 620 & Windows Phone App Connection Problems

    I've been having problems with a Lumia 620 connecting to the Windows Phone App on my Windows 8 laptop. The App keeps reporting that the phone has a problem and is not playing nicely. I've eliminated the laptop as the issue as my Lumia 920 connects without a hitch. I'm guessing the issue is with the Lumia 620's software as it was recently updated in the past two months. Any solutions out there apart from resetting the phone?

    you could try to uninstall the windowsphone app from your laptop and reinstall it to see if maybe it wasn't connecting and loading the drivers correctly.

  • Installing Windows Phone Apps to Windows 8.1

    Are Windows Phone applications supposed to installed on Windows 8.1 Pro?   The 8.1 Start menu includes the Store application, but most of the apps I need to install refuse to install and insist that they need a Windows Phone account.
    Will

    Each device processor has it's own architecture (a set of instructions that is supported by a processor), referred by a unique name. So, in the case of desktop, the architecture is x86 (or x86-64). In the case of phones, it's ARM (Advanced RISC Machines)
    architecture. Hence, the apps developed for Windows Phone will not be able to run in Windows desktop, and so you're seeing the error message.
    Hence, as britishdhez says, you can use the phone emulator. The emulator emulates the ARM architecture in the desktop PC, so Windows Phone apps will run on the emulator without any issues.
    Balaji Kundalam

  • Windows Phone app based on website

    Hey, I want to make windows phone app and don't know where to start. Actually, I don't need help with how to make wp app, but how to get data from website. My app should look something similar to the Microsoft Facebook app (except that it will not be Facebook).
    Let me try to explain it a bit. In facebook app you click a button (for example "news") and magic happens - content from facebook appears. My question is, how? What do I have to do to "communicate" with website, to get content or even trigger
    website functions. So far I've been only able to work with websites that I have access to database. I assume "magic" is going on using GET and POST functions, but I don't think that are the only two functions to do awesome app such as Facebook
    (developed by Microsoft)...

    You would have to add a webservice on the web site you can call to get the data.  I would recommend using the web api for this.
    If your website has an rss feed you can use that to get data from the website also

  • My Server 2012 R2 Windows Phone App now available!

    Hi, All,
    Greetings!  I am very pleased to announce that the My Server 2012 R2 Windows Phone App
    has been published to
    Windows Phone Store. This version is targeted to work with the new released Windows Server 2012 R2 Essentials and the Windows Server Essentials Experience server role in Windows Server 2012 R2 Standard & Datacenter. To
    try out the new version, search ‘My Server 2012 R2’ from your windows phone and install it. Let team know if you have any feedback on this app.
    Thanks,
    Windows Server Essentials Team

    Great option guys! Now I can REALLY centralize my media without reliance on third party products.
    For Phone App, it's great to have it but it seems to be lacking in UX. i.e. there is no option to start slideshow or even go from one photo to next in the list. It's very inconvenient to go from one photo to next by backing out to the list and clicking on
    next photo.
    Another feature I would love to have is integration on Photo/Video/Music hub. That way I don't have to explicitly launch app to access my music/photo/videos.
    Keep up good work and I hope to see much more functionality and tighter integration in future updates.
    Bhargav Shukla | Director Product Research & Innovation | Exchange Server TechCenter | Microsoft
    Exchange Team Blog |
    My Threads | My Blog

  • Pass values between Windows phone app and wpf

    Hi,
    i am creating a windows phone app where it is like a remote for desktop app which have timer start stop and break
    where start should activate the desktop applicaition timer like that.
    what are the possibility that i can control wpf(desktop) app with a windows phone app directly without any database sort of thing.
    thank you

    For help with the WPF side of this you'll be better off posting in the WPF forum.
    There isn't any remote control system built in, but you can use standard networking to implement your own. From the phone side take a look at the
    Connecting to networks and web services documentation. In particular, the
    Adding support for networking and
    Connecting with sockets sections are likely to get you on the right path.

  • Regarding the usage of HR_INFOTYPE_OPERATIONS function module in ECM badi i

    Hi All,
    We have requirement where we need to update the infotype 0015 while implementing the badi 'HRECM00_ACTIVATION'.
    To achieve this functionality we are calling the HR_INFOTYPE_OPERATION function module to update the infotype 15. But we are getting the runtime error.
    Can some one suggest how to solve this issue.
    Thanks & Regards,
    Sreelatha Gullapalli.

    thanx for ur reply...
    But i want to use Transmission Medium 5 only as i have the requirement to Send the data as an EMAIL or FAX depending on the Communication Method specified in the Partner Number.
    Actually SAP Help also explains the usage of this medium using the same requirement as mine... but then it never anywhere specified on how the Print Program will be...
    I also checked the standard output type CPAC used in Application V7 to which transmission medium 5 is assigned. And the print program assigned to this output type has no coding on sending the email using the FM. So i am very very confused.... I have seen few postings in this forum on this topic.. but not clear enuf to clarify my confusion...
    Kind Regards,
    Tanuja

  • Disable the Copy and Paste option in keyboard [Textbox control] Windows phone App

    In Windows phone 8.1 WRT app, I want to disable the copy and paste option in the keyboard for the textbox control
    Please let me know if any possibilities and if you have the code snippets Please share it .

    Hi Ruthradevi,
    As I know we have no way to disable the copy and paste option in the keyboard.
    Why do you want to disable it, can you explain more about your scenario?  Let's see if we can make a similar function like you required.
    Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • This is for Verizon Customer Service: Is there an estimated date for the 8.1 Denim update for Windows Phones?

    Will Cyan be rolled out for the Icon, or should we expect to wait until Denim is supposed to be rolled out around October
    << Moderation discussion removed to comply with Verizon Wireless Terms of Service >>  This is a very specific question and Verizon Customer Service can't answer it if they don't have a chance to read the question.
    I spoke with Microsoft Customer service, and the agent specifically said MS already pushed Cyan to Verizon, and he, as a WP owner on Verizon, was also frustrated that the updates haven't been rolled out by VZW.
    So bottom line question: Skipping Cyan? If so, what is the Denim date?
    Message was edited by: Verizon Moderator

    Unfortunately the answer is unknown.  The majority of the Windows phone threads here are about this exact subject, and that says a lot about Verizon and their ability to communicate on a basic level.  You might get your update, you may not.  Verizon is in control and doesn't really care.

  • How to change the Button content as CamelCasing in Windows phone 8.1 Message dialog

    This was already raised in
    Stack over flow, While showing the native Message dialog in Windows phone, i cant change the captions as camel case of command buttons. Is this a bug with windows phone 8.1(WinRT) are is there any workaround to fix this issue?
    Sankar

    This isn't recommended and violates the system style.
    If you want a custom dialog you need to use a different control. The MessageDialog always lower cases the buttons to match the system style and is not generally customizable.
    If you use a ContentDialog you can customize it fairly extensively, and it doesn't try to fix the case of its buttons. You'll probably want to create your own ContentDialog class (there's a template under Add.New Item...) with your desired contents, but here's
    a quick content-free example:
    ContentDialog cd = new ContentDialog();
    cd.Title = "My Title";
    cd.PrimaryButtonText = "CoNtInUe";
    cd.SecondaryButtonText = "sToP";
    await cd.ShowAsync();
    Also note that the guidelines
    for message dialogs suggest using clear and specific verbs rather than generic OK/Cancel.

Maybe you are looking for

  • Ink system failed

    i have a photosmart 3210 and it has quit printing.  i get an error message saying "ink system has failed. unable to copy, receive faxes, or print.  Error Oxc18a0001

  • Idocs from XI to a flat file

    Dear All, I having a scenario in which whenever a Delivery is created in R/3 an idoc is posted into XI. I am able to see the idocs in transaction IDX5. Now I want to download this Idoc into a flat file thru XI. Kindly guide me how this can be done oe

  • HT1304 I can't find movies i rented from itunes on my ipad2, help

    I have rented movies from itunes on my ipad2, now i can't find them. Can someone help me?

  • Purchase Requisition in Backend in ECS

    Hello Gurus, I have a requirement regarding the creation of Purchase Requisition ( PR) in R/3 and i still want to have ECS active while creating Purchase Order. Please let me know if anyone is having a better solution to make this requirement realize

  • Problems with History after Google search in Safari

    I've noticed recently that after I have searched on Google, any page that I have found linked in the Google search and visited only appears in my Safari History as a Google referal link, e.g.: http://www.google.co.uk/url?sa=t&rct=j&q=apple%20compress