Coder Social home page Coder Social logo

Comments (7)

gsurrel avatar gsurrel commented on June 25, 2024

Indeed, that's a bug. I did not plan to make the app as a dedicated browser, but I guess not everybody wants to install Tinfoil or FaceSlim so separate Facebook from the main browser.

I'm also thinking about using https://touch.facebook.com instead of https://m.facebook.com so it's nicer for the user-experience.

from facebooknotifications.

sm4rk0 avatar sm4rk0 commented on June 25, 2024

Re: dedicated browser
What do you think about an option to open the links with other browsers?
Or tap-and-hold to copy/share the link?
Then no navigation from the notifications page would be necessary/possible.

Re: touch interface
Yes, that should look better. Did you consider directly opening the notifications page?
https://touch.facebook.com/?soft=notifications

Thanks!

from facebooknotifications.

gsurrel avatar gsurrel commented on June 25, 2024

As clicking from the notification just asks Android to browse to facebook, it should show the dialog "Choose the application to continue the action", so a standard browser can be chosen (I've chosen Tinfoil for Facebook).

Taping the notification opens the most specific link:

  • If you have only friends requests, it opens https://m.facebook.com/friends/center/requests/
  • If you have only messages, it opens https://m.facebook.com/messages/
  • If you have only notifications, it opens https://m.facebook.com/notifications.php
  • If you have a combination of the above, it opens https://m.facebook.com/ with additional buttons to open more specific pages

If you have another behavior, could you please tell me, I've not noticed any malfunctions in this process.

from facebooknotifications.

sm4rk0 avatar sm4rk0 commented on June 25, 2024

You're right. First I've chosen WebApps, but if you've disabled third-party requests (except for white-listed ones, saved per web app) it doesn't work smoothly when opened externally (from a link) vs. opening a web app directly. So, I switched back to FacebookNotifications as the default app.

The scenario I proposed would be:

  1. tapping the notification
  2. FacebookNotifications opens
  3. any subsequent link in the app opens the "Choose the application to continue the action" dialog
    But I'm not sure if it's feasible or possible at all...

from facebooknotifications.

gsurrel avatar gsurrel commented on June 25, 2024

I don't see the benefit of the workflow you suggest compared to starting directly with "3".

Also, I have not heard of WebApps so I'm not sure to understand exactly what is the problem: when you open a Facebook link, you are always redirected to the main page of the website and not to the more specific link? (I mean, loading test.com/deep/link.html loads simply test.com)?

from facebooknotifications.

sm4rk0 avatar sm4rk0 commented on June 25, 2024

Sorry for this digression. I figured that the workflow I suggested is actually a workaround for WebApps' misbehaviour. Please disregard this.

The problem is that when the page is opened "externally" in WebApps, 3rd party domains are disabled, so Facebook is opened without resources from fbcdn.net and akamaihd.net which makes it unusable until the domains are manually unblocked.

from facebooknotifications.

gsurrel avatar gsurrel commented on June 25, 2024

The "back" button handling has been added.

from facebooknotifications.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.