Facebook link to be opened in app instead of browser [duplicate] - android

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
launch facebook app from other app
I'm looking to see if it is possible to do the the following:
To have an email with a social link to a Facebook page within it, but, upon clicking, it won't open your phones browser but the official Facebook app.
Anyone know if that is possible?
Thanks!

You can use these options:
fb://profile – Open Facebook app to the user’s profile
fb://friends – Open Facebook app to the friends list
fb://notifications – Open Facebook app to the notifications list (NOTE: there appears to be a bug with this URL. The Notifications page opens. However, it’s not possible to navigate to anywhere else in the Facebook app)
fb://feed – Open Facebook app to the News Feed
fb://events – Open Facebook app to the Events page
fb://requests – Open Facebook app to the Requests list
fb://notes- Open Facebook app to the Notes page
fb://albums – - Open Facebook app to Photo Albums list
and many more. As for android there may be something similar. It's possible the same URL's work for the newer versions of the Android FB app. I have no device to check with.

Related

Huawei HMS - Open app from browser with custom uri schema

I'm developing an app that use the AppAuth library.
https://github.com/openid/AppAuth-Android
In the app I click on a button that open a browser tab with the login page. After the login the website open a custom uri "com.myapp:/oauth2redirect" with data needed to app for the login.
In the devices with Google Chrome (after the login) the app appears, the browser is closed and the user continue to use the app.
In Huawei device with Huawei browser, a snackbar appears asking the user to open the app "The site would like to open APP". This snackbar disappears after 5 seconds. If the user click on the snackbar the browser is closed and the app appears, but if the user don't click it and close the browser the app don't receive the login params and nothing works.
For the users is more complicated because have to do more actions to do a simple operation that on Google devices is automatic.
Someone use AppAuth or custom uri scheme on Huawei devices? How to solve this problem?
Please Set device default browser to Chrome using Settings->Apps->Default Apps->Browser App
BTW, Could the app handle redirect URI with the following configuration as suggested by the app developer in link on HMS phone normally?

Connections between wordpress and android studio

I have a project that needs to have registration and login info from a website, I'm new to android studio so I don't have a clue how to do it or if it's possible.
What I need is, when the user opens the app it sends him to the website and login/register, after that if it was approved it go back to the app and continue there any idea how to do that?
I've looked many YouTube videos and here too but didn't get my answer yet.

Error : Sorry this page not available on facebook

I have just integrated the facebook SDK in android native app, I created a app on facebook dashboard to integrate a facebook SDK in android native app.
I am successfully posted the message on the facebook through my android native app, it shows my app name "Sooligan", when I am clicking on this "Sooligan" it is redirecting to me on page not available.
Please see attached screenshots.
Clicking on Sooligin it is redirected to below page
Guys any way to solve this problem so that it should open any page which I want or anything related to that
Under Basic Info in your app settings on Facebook you will need to set your Canvas URL. When that page is called it will send the variable fb_source which will tell you if it came from the application or your facebook page, etc. You can then choose to redirect it however you want (if you want to).
I solved this simply add the website in the platform also, there I have added my website URL which I want to open for ex : www.google.com

Removing download Facebook App link from Facebook login page

I'm building a native Android app for a client and one of the areas of the app allows the user to post their score from a quiz to their Facebook wall. This app is on devices that are handed out to the public and not on their own person device. The problem is that the Facebook login page has a link to Google Play that says "Get Facebook for Android and browse faster". When tapping this the user is bumped out of the app to the Market. I need to keep people within the app. Giving the user the ability to enter Google Play and download the Facebook app or any other app is not going to work.
There's the added problem that the device has a protective casing that covers the hardware navigation buttons. So the user doesn't have access to the back button to return to the app.
Any ideas if how to get a modified login page?

Facebook Android SDK - Send data to Facebook Application

I'm using Facebook SDK for Android to embedded Facebook inside my social app.
is there a way - from my Android app - to open the Facebook Application on a specific user's profile ?
Some kind of sending an Intent to the Facebook Application ?
My goal is to direct the user to its friend's profile in Facebook right from my application
This has been answered in other stackoverflow posts such as this one:
launch facebook app from other app
I would like to remind developers that this is not officially supported so this may be broken anytime. Using it for your own app is at your own risk.

Categories

Resources