Welcome to the Windows Central Forums Create Your Account or Ask a Question Answers in 5 minutes - no registration required!
Results 1 to 2 of 2
  1. Dileep 1's Avatar
    Member

    Posts
    8 Posts
       #1  
    Guys

    I am developing a windows phone app for which I required integration with facebook and twitter.
    Requirement is - If user logs-in into facebook or twitter apps in the device, we must use the same login tokens and should proceed with our app. We should not prompt for username and password again.

    NOTE:
    I cannot use any facebook or twitter api's for login. I should use the same token from which user logged in into facebook or twitter app installed in the device.

    Please help.
  2. AdamDawes's Avatar
    Developer

    Posts
    58 Posts
    #2  
    I think it depends on what you want to do with Facebook and Twitter.

    You can easily share links or status messages using the Microsoft.Phone.Tasks.ShareLinkTask/ShareStatusTask classes. Those will integrate with the existing configured accounts. If you want to do more than that (reading status updates, for example), I suspect you'll have no option but to interrogate the appropriate API directly, and you'll need to prompt the user to authenticate in this case. I could be wrong, but I'm not aware of any way to read the user's authentication token details from the device.
    Adam
    >> My new book, "Windows 8 and Windows Phone 8 Game Development" is available now, published by Apress.
    >> Find out more at http://www.adamdawes.com/books/w8wp8gamedev.html
    www.adamdawes.com
    @AdamDawes575

Similar Threads

  1. Facebook and Twitter native apps?
    By SHOBOKSHY in forum Microsoft Surface for Windows RT
    Replies: 5
    Last Post: 10-25-2012, 08:48 AM
  2. Better Facebook and Twitter Integration?
    By AllPhoneNews in forum Windows Phone 8
    Replies: 22
    Last Post: 09-30-2012, 11:50 AM
  3. Problems with Facebook/Twitter Integration
    By ALborntoride in forum Windows Phone 7
    Replies: 3
    Last Post: 02-18-2012, 07:57 AM
  4. facebook and twitter apps need updating
    By mkr10001 in forum Windows Phone 7
    Replies: 12
    Last Post: 01-04-2012, 09:27 AM
  5. Replies: 4
    Last Post: 01-04-2011, 10:44 AM

Posting Permissions