I've managed to add Landscape option to iPhone new FaceBook

Discussion in 'iPhone' started by stu.h, Aug 24, 2012.

  1. macrumors 6502a

    Joined:
    May 8, 2010
    Location:
    West Midlands, England.
    #1
    Basically, you need to modify the Info.plist file inside the

    \private\var\mobile\applications\FaceBookApp folder

    It looks like they have intentionally left out support for iPhones, whereas it has full support on the iPad.

    Simply add the extra 3 screen UI's to be the same as the iPads settings and you can have the iPhone at any of the 4 orientations

    [​IMG]

    :D

    ----------

    Hmm, although this works fine, when updating your own status it reverts back to 'portrait', yet when replying to others, you can type in Landscape fine.

    Also looking through the files, it looks like the iPad has the addition of the 'Nearby' module, whereas it has been left out for iPhones.

    Lets add it back in for iPhones :D
     
  2. thread starter macrumors 6502a

    Joined:
    May 8, 2010
    Location:
    West Midlands, England.
    #2
    [​IMG]
     
  3. macrumors G5

    ucfgrad93

    Joined:
    Aug 17, 2007
    Location:
    Colorado
    #3
    How does one even get to that file in order to add those things?
     
  4. macrumors G3

    mattopotamus

    Joined:
    Jun 12, 2012
    #4
    I think you have to do it from your computer using the app in itunes.
     
  5. macrumors 65816

    Joined:
    Sep 17, 2009
    #5
    get a plist editor, show all files in the .app and edit from there.
     
  6. thread starter macrumors 6502a

    Joined:
    May 8, 2010
    Location:
    West Midlands, England.
    #6
    OK looking further at the .plist files, I think I may need an iPad .plist file to compare, should be able to get on one tomorrow.
     
  7. thread starter macrumors 6502a

    Joined:
    May 8, 2010
    Location:
    West Midlands, England.
    #7
    I got hold of the plist for the iPad and its exactly the same. Might be something thats hard coded into the main file.

    I'm finding browsing the new FB app in landscape is good tho, so definitely worth modding your info.plist file for this option

    :D
     
  8. macrumors newbie

    Joined:
    Aug 29, 2012
    #8
    How do you get to the info.plish and where?

    Stu.h

    How do you get to the info.plish - where?
    Can you tell us how you got to the info.plish and with what program and how did you fix it.

    Thanks
     
  9. macrumors newbie

    Joined:
    Aug 30, 2012
    #9
    Windows Path

    Anyone know where the plist files end up on a PC running Windows XP?
     
  10. macrumors newbie

    Joined:
    Sep 4, 2010
    #10
    Ok, I followed the directions provided by Stu.h, essentially, by opening this file:

    music>itunes>itunes music>mobile applications>facebook 5.2.2.ipa

    on my mac with a free program called Pacifist. I then used Pacifist to copy this file:

    contents of facebook 5.2.2.ipa>payload>facebook.app>info.plist

    to my desktop.

    I then opened info.plist with a free program called Pref Setter.

    Lo and behold, the screen orientations that Stu.h suggested adding for the iPhone are already there (except for PortraitUpsideDown, which, who cares—see attached photo). So this method no longer works, it seems.

    I recall that Facebook rebuilt their iPhone app from scratch not long ago. Was that after Stu.h posted these instructions? Regardless, I wonder whether Facebook made it impossible to use landscape mode in version 5.2.2 of the app, regardless of the prefs? Thoughts?
     

    Attached Files:

  11. macrumors member

    Joined:
    Sep 25, 2012
    Location:
    Bournemouth, England
    #11
    Off topic, but what are the bits next to the time at the top of your screen? Next to the time I mean...
     
  12. macrumors Nehalem

    GoCubsGo

    Joined:
    Feb 19, 2005
    #12
    If the info is already there and landscape doesn't work then I don't think the app takes into account the other screen orientations. I don't get why that "feature" would be removed.
     
  13. macrumors newbie

    Joined:
    Dec 4, 2012
    #13
    Well you said they just rebuilt the app from the ground up, maybe that's a feature that isn't a top priority. If they're rewriting the entire app, then the code for the old app wouldn't work in the new program or else it would be the old app. So we probably just have to wait for some updates.

    I too hate not being able to type in landscape. I like portrait for newsfeed and profiles, but landscape for pictures and typing.

    Come on it can't be THAT hard just add it back FB!

    ----------

    It would also be awesome if FB would collaborate with google and intel and just read our minds and do everything for us. You could just think it and it would happen!
     
  14. macrumors newbie

    Joined:
    Sep 4, 2010
    #14
    It probably won't do anything, but if you'd like to at least vent some frustration about this problem, like this page on Facebook, entitled, "Bring back landscape mode in iPhone fb app":

    https://www.facebook.com/helpbigthumbs
     
  15. macrumors newbie

    Joined:
    Dec 4, 2012
    #15
    I think I may need an iPad .plist file to compare[​IMG]
     
  16. macrumors 6502

    HiddenPuppy

    Joined:
    Dec 31, 2011
    #16
    I know this may seem simplistic, but if you use Safari for Facebook it will do landscape and you don't have to modify anything. Am I missing something or is the Facebook app better for some reason?
     
  17. thread starter macrumors 6502a

    Joined:
    May 8, 2010
    Location:
    West Midlands, England.
    #17
    It was the date and free memory on my Jailbroken 4S.

    Looks like its now hard coded into the app so iPhone can only use portrait. Might have a look at it tomorrow, wow this thread was from months ago!

    I compared back in August and it was identical, but that was a few versions ago. I've got a 4th gen iPad so should be able to access the files required for landscape, but if its hard coded, nothing will work. We'll see :)

    Facebook app much more convenient and fluid.
     

Share This Page