BetaArchive Logo
Total Current Archive Size: 4765.54GB in 15409 files
Navigation Home Screenshots Image Uploader Server Info FTP Servers Wiki Forum RSS Feed Rules Please Donate
UP: 5d, 9h, 17m | CPU: 10% | MEM: 4765MB of 12279MB used
{The community for beta collectors}

Post new topic Reply to topic  [ 8 posts ] 
Author Message
 PostPost subject: Fixing Socialite on WDP        Posted: Sat Feb 11, 2012 6:40 am 
1337 Beta Collector
1337 Beta Collector
User avatar
Offline

Joined
Wed Sep 09, 2009 2:17 am

Posts
3276

Location
New Jersey, USA

Favourite OS
6.2.9200
I found a way that someone posted on pastebin to fix the problems Socialite has on the WDP. Enjoy!

Quote:
Socialite for Windows Developer Preview workaround
---------------------------

As you may know, the Socialite app in Windows Developer Preview has a bug that doesn't let you log in. Luckily, this can be sidestepped with this workaround. It's dirty, it's unstable, it can be confusing to some, but it works and that's pretty much what we want at the moment.

1. Gathering info
--------------------
First of all, you well need to gather some info from your Facebook profile. You will need:

- Your profile ID (8-11 digit number)
- Socialite authorization token

Profile ID
If you don't have a username on Facebook, go to your profile page and look at the URL. It should look something like http://www.facebook.com/profile.php?id=##########. Copy the numbers that come after "id=" into any empty text file for future use.

If you do have a username, go to http://graph.facebook.com/<username>. Replace <username> with your username. You will be asked to download a small .js file. Download it, open it in Notepad and look for the "id" field inside. This is your number. Save it for future use.

Socialite authorization token:
Open up Internet Explorer and follow the link below.

https://www.facebook.com/dialog/oauth?r ... tus_update

If it asks you to log in to Facebook, do so. If it asks you to allow Socialite to post on your wall etc., click on "Allow". Eventually you will get to the page that says "Success". Look at its URL and copy the long string of characters between "access_token=" and "&expires_in". Save it somewhere with your profile ID for future use.

2. Modifying the code
----------------------
Open up the Control Panel from desktop. Change the view to "Large icons" or "Small icons" if necessary. Go to "Administrative Tools" and double click "Computer Management". On the left pane, expand "Local Users and Groups" and select "Users". In the middle pane, double click on Administrator and uncheck the box that says "Account is disabled". Apply changes, press Ctrl-Alt-Del and click on "Switch Users". You will see the Administrator account along with your normal account. Log in as Administrator.

After logging in, open up Windows Explorer and go to "C:\Program Files\Applications". This is a hidden system folder, so to be able to see it, you need to unhide hidden and system folders in Folder Options. If you still don't see it try "C:\Program Files (x86)\Applications". It might be in there, I'm not sure.

Once you're in Applications, open up the folder that starts with microsoft.socialite. Find a folder called js and open up Socialite.js with Notepad. Find this block of code:

Socialite.currentUserId = "";
Socialite.currentUserAccessToken = "";
Socialite.currentUserId = Socialite.Storage.getValue(Socialite.Constants.facebookUserIdKey);
Socialite.currentUserAccessToken = Socialite.Storage.getValue(Socialite.Constants.facebookUserAccessTokenKey);

Insert your profile ID between the quotes in the first line and your authorization token between the quotes in the second line. Delete or comment out (put // in the beginning of the line) the last two lines, then save the file. If it doesn't let you save, go into the file's properties and go to the Security tab. Click on Edit, select the Administrator account in the top list and check "Modify" in the bottom list. Apply changes and try saving the file again. Log out of the Administrator account and log back into your normal account.

Go into Task Manager (Ctrl-Shift-Esc) and check if Socialite is running. If it does, end it. Run Internet Explorer and make sure you're logged into Facebook. Finally, open Socialite and, hopefully, you will see a menu instead of a log in screen. Good job, you!

-----------
Other stuff
-----------
Since this is a temporary workaround, there are a few limitations. If you want to log in with another Facebook account, you will need to do all these steps again because the authorization token is tied to your Facebook account. Also, I would not recommend logging out from Socialite, although I haven't tried to do that.

If you get permission errors when you're trying to modify the application code, ask around on Facebook, I'll probably answer you or modify this document with instructions on resolving this issue. If you have any other issues, ask around on Facebook, but please do not post your authorization token, it's a huge security risk.


Now, this was posted on the 8th and did state that it could be "updated"

Stay tuned here! http://pastebin.com/2sEKNDeD

_________________
Dell Studio 1555~4GB~120 GB SSD~Windows 8 Pro~512MB ATI Radeon HD 4500
Dell Inspiron Duo~2GB~320GB HDD~Windows 8 Pro~Intel HD Graphics
Macbook A1181~2GB~80GB HDD~Mac OSX 10.7.5
Barebones Rig~6GB~90 GB SSD~Windows 8 Pro~1GB ATI Radeon HD 5450


Top  Profile
 PostPost subject: Re: Fixing Socialite on WDP        Posted: Sat Feb 11, 2012 4:35 pm 
Amateur Beta Collector
Amateur Beta Collector
Offline

Joined
Tue Jun 21, 2011 6:21 pm

Posts
78

Location
The SpawnPoint

Favourite OS
Windows 8 Pro build 9200 x64
Works! :) Now if only the Weather app was fixed... :( Either way, WCP is on the 29th :mrgreen:

_________________
Image
Well this is awkward... | The Offical Ramireztime Site


Top  Profile  WWW
 PostPost subject: Re: Fixing Socialite on WDP        Posted: Sat Feb 11, 2012 5:00 pm 
1337 Beta Collector
1337 Beta Collector
User avatar
Offline

Joined
Wed Sep 09, 2009 2:17 am

Posts
3276

Location
New Jersey, USA

Favourite OS
6.2.9200
No! The weather app doesn't work either??? :S

Edit: It works fine for me...

_________________
Dell Studio 1555~4GB~120 GB SSD~Windows 8 Pro~512MB ATI Radeon HD 4500
Dell Inspiron Duo~2GB~320GB HDD~Windows 8 Pro~Intel HD Graphics
Macbook A1181~2GB~80GB HDD~Mac OSX 10.7.5
Barebones Rig~6GB~90 GB SSD~Windows 8 Pro~1GB ATI Radeon HD 5450


Top  Profile
 PostPost subject: Re: Fixing Socialite on WDP        Posted: Sat Feb 11, 2012 8:29 pm 
Ex OSBA Member
Ex OSBA Member
User avatar
Offline

Joined
Sun Jan 27, 2008 8:09 pm

Posts
3989

Favourite OS
OS X 10.8
Socialite seems to work fine without this for me, as does Weather...

_________________
Image
Image
Twitter


Top  Profile  WWW
 PostPost subject: Re: Fixing Socialite on WDP        Posted: Sat Feb 11, 2012 9:28 pm 
Newbie Beta Collector
Newbie Beta Collector
Offline

Joined
Sat Mar 12, 2011 3:29 pm

Posts
33

Favourite OS
Windows 8
Not working for me...still getting a logon loop with Socialite.


Top  Profile
 PostPost subject: Re: Fixing Socialite on WDP        Posted: Mon Feb 13, 2012 5:46 pm 
Pro Beta Collector
Pro Beta Collector
User avatar
Offline

Joined
Wed Jun 16, 2010 11:03 pm

Posts
436

Location
over the hills and far away

Favourite OS
Windows 8 PRO 9200
Would it be better just to wait till BETA to see if this is fixed if Socialite if in the BETA.

_________________
Image


Top  Profile
 PostPost subject: Re: Fixing Socialite on WDP        Posted: Mon Feb 13, 2012 6:07 pm 
1337 Beta Collector
1337 Beta Collector
Offline

Joined
Tue Dec 01, 2009 2:56 am

Posts
6087
chrisjose1913 wrote:
Would it be better just to wait till BETA to see if this is fixed if Socialite if in the BETA.

If Socialite is even included in the Beta or Windows Store.

_________________
Goodbye.


Top  Profile
 PostPost subject: Re: Fixing Socialite on WDP        Posted: Mon Feb 13, 2012 6:17 pm 
Amateur Beta Collector
Amateur Beta Collector
User avatar
Offline

Joined
Sun Dec 18, 2011 3:22 pm

Posts
245

Favourite OS
Windows XP Service Pack 3
Works! Now its just the Weather app, it keeps saying unable to gather any weather info bla bla bla!

_________________
http://www.windowsiso.weebly.com Windows ISO's (My Website)

http://windowsisos.freeforums.org/index.php Windows ISO's Fourm (My Fourm) (Need Moderators!)

Image


Top  Profile  WWW
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 




Who is online

Users browsing this forum: dwayne12, John Elliott and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

All views expressed in these forums are those of the author and do not necessarily represent the views of the BetaArchive site owner.

Powered by phpBB® Forum Software © phpBB Group

Copyright © 2006-2013

 

Sitemap | XML | RSS