Facebook Invite dialog not opening on mobile devices (iPhone/Android) - android

this is documented in two separated Facebook bugs
http://bugs.developers.facebook.net/show_bug.cgi?id=17261
http://bugs.developers.facebook.net/show_bug.cgi?id=17260
it has been a month, and Facebook has yet to fix it, my clients are very angry so I am looking for a workaround.
can I create an invite UI of my own and do some graph API calls to get invitations to be sent to selected friends ?

No unfortunately you are at the mercy of Facebook for this bug to get fixed, one of the risks of using a 3rd party platform for this. There is no graph api for this as this functionality is only available via their social plugins. The app requests / invitations too has been particularly volatile, having previously been removed and brought back in a different form (probably due to spamming/abuse).

Related

MS Teams Links from Tab to Chat Channels request authorization only on Mobile App

We have a teams application that uses a grid in a custom tab (user tab) to display a list of channels with certain details related to the operation of the company. The idea is that when the user of the app is interested on following one of the items in the list they click and are redirected to the "Team - Channel" that is related to that item in the list. The Teams and Channel are created dynamically by our application using MS GRAPH API in the organization where the app is installed. All this works well and we store in our own backend the details of each channel created (The url provided by the Graph API to be able to redirect users to those channels).
All this works well and in the web UI and desktop version of the app the behavior is flawless. Although when testing the mobile version of MS TEAMS with an ANDROID tablet (Galaxy Tablet with Android V 10 and MS Teams V 1416/1.0.0.2021020402) We noticed that users which are either "Owners" or "Members" of the linked channels get a message "requesting to join" the channel when they click the link in the application tab that should redirect them to the specified channel. The same users can anyways from the mobile application itself see the team and channel related to the entry in the list and select it... and chat on it... but the link from our App tab to the channel itself pops up the "Request to Join" screen.
The situation has been as well a bit erratic... sometimes the link works as expected in the mobile app and all of the sudden the app start requesting access when accessing the link. We are wondering if is related with the fact that we create the teams and channels dynamically and maybe the mobile app caches the access to the user channels creating a conflict with recently added channels... just a theory.
Any help or idea or similar experience is greatly appreciated. Our application is close to hit production and this erratic behavior might render it unusable.
Thanks!
Jorge Luna.
We hope you are trying for authentication flow for tabs.
OAuth 2.0 is an open standard for authentication and authorization used by Azure Active Directory (AAD) and many other identity providers. A basic understanding of OAuth 2.0 is a prerequisite for working with authentication in Teams. For more information, see OAuth 2 simplified that is easier to follow than the formal specification. Authentication flow for tabs and bots are different because tabs are similar to websites so they can use OAuth 2.0 directly. Bots do a few things differently, but the core concepts are identical.
Could you please try the below sample code.
If you are still facing the issue please write to Microsoft Teams Community

Merge a Facebook login app used for Android with an iOS one, or migrate users to new one

A legacy setup we have means that we have the following:
Facebook app used for login onto Android devices
Separate Facebook app used for login on iOS devices
The issue this has caused is that if a user switches between devices they get a 'this email address is already in use' message from our server.
I need to find a way to get any users logging in on the two platforms to just be able to do so, and i assume the best way to do that is to:
Add Android as a platform on our iOS login
Change the Android app to use the 'other' login/app id (iOS)
Log everyone out on next release of our app (on Android)
Re-authenticate those users on Android as they log in (as we are making them use a new app id)
The key thing is for us however, that
The Facebook login is associated to their entire account (which is hung off the email address) and they have lots of content in there, so we cannot get those Android users to lose anything
We need to let them do this because we WILL already have used that email address if they are logging back in
Will the above strategy work to do this? Any pointers or recommendations on best strategy for this would be hugely appreciated.
You can use this API to link your users across the two apps: https://developers.facebook.com/docs/apps/for-business
Just keep the two apps as separate apps and link them under a single business. Then, when a user logs in you can check if they have already logged in before using the other app.

Facebook Version 2.0 sending any kind of invitation to friends possibilities? And getting friend list

My company is working on a project where we mainly need two-three things from facebook get back the list of friends who are using our application, send any kind of invitation to other friends and maybe post on user wall.
What are our possibilities since I see that version 2.0 is very limited compared to 1.0 I just want to confirm this with someone who has recently did more research on this.
How I see Graph API( /me/friends) only returns the list of friends who are using the application and gave permission for user_friends. And pretty much no way of getting full firend list of a user.
Second sending notifcations or any kind of message to new users or is there possibility to share it on IOS/Android. After some research how I see chat,messaging is depricated only https://developers.facebook.com/docs/sharing/reference/send-dialog is available and
invitable_friends only available for games.
Is there anything that we might be missing could anyone give us some advice what is possible since there are a lot of suggestions on the internet on this but not all are up to date.
You are correct Friends list will only return app using friends . And invitable_friends is only for gaming app. I was hoping that something would change in Graph API 2.1 but they have become more strict .
Rest API which was depricated is now stopped. Here are changes in Graph API verision 2.1 as compared to version 2.0
This is the way facebook wants it, so appereantly there is no way to get friends list or to send invites to Non App using friends
You can see the future migrations and Platform version details indicating Facebook is in no mood to make any changes regarding this in near future

How to Hiding application source when posting to Facebook page via graph API

I've successfully posted to a fan page as the actual page via the Graph API.
The problem is that the post says it was posted at "time via application name". Is there any way to hide this, so my post looks exactly as if I typed it directly into Facebook?
Any help appreciated
Short answer: No.
Slightly long answer:
Unfortunately, if such a feature was to be available, it would have to be made available by Facebook via their SDK / API. As of now, however, anytime anything is published via any third-party application, they will continue to bear the via application name stamp on their posts.
Why I say that Facebook will have to implement such a feature is because Twitter did exactly that. Sometime in mid 2012 I think. This was possibly done to bringing parity across the entire platform. * Source: http://thenextweb.com/twitter/2012/08/28/twitter-longer-displays-client-tweet-posted-web-emphasizing-first-party-reading-experience/*
I suspect this is because you can only do a limited set of actions (when posting on Twitter) as compared to the Facebook platform. On Facebook, you have several choices when posting content to the platform. Images, Videos, Links, Status updates. And I am not even counting the Open Graph actions.
You could consider filing a feature request to Facebook. If they think the suggestion merits inclusion, they just might do it.

Handling logins and invites for a social Android game

I'm writing a social game for mobile devices. The overall interaction would work like an online Risk or Scrabble game (invite friends to a game, take a few turns per day, view results of friends' games).
I'm trying to decide how to handle logins, invites, and "friends".
Options:
Have users sign up with a username specific to my game. Invite people by username/e-mail.
Automatically identify users based on some the Device ID or their primary e-mail address.
Use an existing service like Facebook.
Option 3 automatically gets me the user's real name, a profile picture, and a list of the user's "friends". But maybe with Option 1 or 2 I could still get that information from the phone? (E.g. derive friends list from the user's address book.)
Option 2 might have the lowest barrier-to-entry. Just start the game and you're already good to go (don't have to create a username or type in Facebook credentials).
(Though I'm currently writing it for Android, I might do an iPhone version and want the two versions to play well together.)
Advice?
IMO, unless you want to develop some niche social features, yhy not delegate the socializing part to a third-party SDK like Skiller or Score Loop. Such SDKs would automatically handle the social interaction part for your app. For example, in Skiller, all you need to do is to hook up your app with the SDK by defining a few configuration attributes and it requires simplistic changes to your app source code.

Categories

Resources