Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9158689
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T13:18:29+00:00 2026-06-17T13:18:29+00:00

I made a Facebook game for Windows 8 where users can connect to Facebook

  • 0

I made a Facebook game for Windows 8 where users can connect to Facebook and share their scores.

When users close the game and later reopen it, I have their UserName and User ID cached; however, I get their image with the graph api url.

My problem occurs when users open my app when they are offline. I can display their name correctly, because it is cached, but I cannot display their image, because it is not cached. How can I cache their image in my WinJS app so that it is still available when they are offline?

Here is my code to show their image:

$('#FbUserExterno img').attr('src', 'https://graph.facebook.com/' + RS.getUserId() + '/picture');

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T13:18:30+00:00Added an answer on June 17, 2026 at 1:18 pm

    At the point you are connected, download the image file and save it locally (using WinJs.xhr, for instance).

    You can then use the ms-appdata:///local/ scheme for the image source pointing to the downloaded file in local storage.

    Of course, you’ll want to refresh the image in local storage at some frequency, perhaps re-downloading it when you detect you have a network connection.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have made a game using HTML5 Canvas Element, Javascript for facebook. You can
I have made an application which uses latest ios facebook sdk to connect. I
I have made a snake game using javascript and HTML5 Canvas element. It can
I have made a flash game for facebook. All happened right expect when I
I have made a sample for posting on Facebook using the basic Facebook library
I'm working on a site that is using Facebook Connect and recently made some
I have many fan pages that I admin in Facebook and I made a
How can I embed just the posts made on a Facebook page into another
I made a Facebook async implementation where you can like different items of the
Hey all, I've made a facebook application for a contest, which allows users to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.