Connections between wordpress and android studio - android

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.

Related

MusicKit gets stuck on the loading screen when trying to login with Apple Music (for media contols)

I'm trying to use Apple's official MusicKit SDK for Android, I downloaded their example project for Android from here, and in the R.string file I replaced the JWT placeholder with my actual JWT token (which works for me with Apple Music Web API) and I'm trying to login with my Apple Music account to the example app so I can control the apple music media (play/pause/prev/next buttons) from within the example app, but when I try to open the login page it opens a new activity in the Apple Music app and it never finishes loading, it only shows the progressBar and never let me insert my login info.
I've been trying to solve this problem for the past week or so, I'd love to get some help :)
It's probably too late to answer this but since there are no answers posted for this question I will tell how it got fixed for me.
In order to authenticate a user for Apple Music, you need a developer token. I think there is some timeout or logic associated with the token expiry. After I refreshed this developer token, it worked for me.

Facebook submit iOS App for Review while working on Android App

We currently developing an app for two platforms, iOS and Android. The development state of the iOs app is more advanced than the state of the Android app. We need facebook for authentication and we also want the “publish_actions” permission to post open graph actions on the users wall.
For our iOs app we reached a level were we want to submit for review. Unfortunately this is not true for the android app.
As far as we know we have to remove the android platform from the Settings (https://developers.facebook.com/apps//settings/) if don’t want that facebook review it. But if we do this our android developers are not able to use the facebook authentication and therefore they can not work on the app in a proper way.
Our question: is there a way to submit for review for iOs only without losing the possibility to develop the android app? Or should we send our "not ready" android app to facebook review?
So, we found a working answer by ourselves.
On the facebook developers website we added a new app. There you can choose if this app should be a test version of an existing app. If you say yes, you get a ready test version of your existing app.
After that you have to direct you “development versions” of your app to the new app id etc and do not forget to test it. For example in ios you have to set FacebookAppID and the URL Schemes to the new AppId and AppName.
If it works you can remove your “not ready for submission” platforms from the settings of your normal app (not the test version) and submit for login review.

Facebook Share Button with Facebook App

I have made quiz website and in order to get the score of the quiz, the user must click the Facebook share button. The button then shares the results of the quiz and a blurb getting their friends to play the quiz too. It's all working well, except for one thing:
If the person is using a mobile device and they click share it loads up a new browser tab. This is bad because most people use the Facebook app and not a browser. So if they click share on my website, they will go to the Facebook login page before they can share it. I'm guessing most people don't bother.
How to get the 'share' to go to the app which they will almost always be logged into and not open a new tab on the browser? Whilst at the same time not affecting the functionality of the share button on a desktop browser or a mobile device without the app installed? I've looked all though Facebook Developers and I can't find anything.
This is not supported. The root of the problem here is, that you can't check if a specific app is installed or not using the browser. This is a good for privacy and security reasons.
So as of now, no, you can't do this, there is no setting or something that would make the Share Button work in that fashion on a mobile client.

Prevent app from Login/Sharing through Facebook App

The problem is that when a post is shared using the Facebook App, the callback will always return {"cancelled":true}. That means that there is no way for our app to know if the user really shared the post or cancelled it. This is problematic as in the game, players are rewarded for sharing posts.
This issue has been acknowledged by the Facebook Team for more than a year now but they still didn't fix it.
Link to facebook dev bug thread: https://developers.facebook.com/bugs/598200610227965/
However if the Facebook App is not installed on the iOS/Android device, the Unity Facebook SDK will pop up a login/share notification in front of the app and its callback actually works so we are able to confirm a share.
My question is: Is there a way to force the app to call the popup notification instead of the Facebook App even if it is installed on the device?
Using: Unity 4.6 with Unity Facebook SDK 6.1

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

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.

Categories

Resources