Why does iOS Twitter app search engine work offline? - ios

I'm building an iOS app related to Twitter and I need to know how do user search engine works. More specifically, I want to make my app show the usernames starting with a certain string. Just as when you're tweeting something and you start typing #Jo and below it appears #JohnSmith, #JoshBennett, etc. ordered by relevance.
In order to figure out how does this feature work, I thought that Twitter may have downloaded all my followers and following list, so that they can access it locally. But I found out that in my search results there appeared people that I don't actually follow but some of my followers follow them. So, does Twitter have downloaded all my followers and all my followers' followers?
In any case, what I want for my app is to only look for the users I follow but it's important to know how I am supposed to download these users information. Taking into account that these requests have a daily limit, what would the app do with a user with millions of followers?
I hope that some of you have faced this issue and can give me some advice. Thanks!

Related

View Instagram From The Perspective Of A Celebrity, A Presidential Candidate, Or A Close Friend

In 2016, there was an app "Being" that performed this function:
https://www.buzzfeednews.com/article/brendanklinkenberg/this-app-shows-you-what-other-peoples-instagram-feed-looks-l
"Being is an app that lets its users see what Instagram is like for someone else. You log in with your own Instagram account, then choose who you want to be. It could be a friend, it could be a partner, it could be a celebrity, it could be a presidential candidate — anyone with a public account on the photo-sharing service can be accessed. You can even click a button and parachute into a completely randomly chosen person's feed.
The app uses Instagram's API to pull all of the "Following" data from a given account and organize it into a feed. So, if you've ever been curious about what Taylor Swift actually sees when she logs into Instagram — minus the many thousands of notifications from adoring fans — this is the app for you."
Unfortunately, Instagram has removed data access from the app, so it's no longer available. It annoys me that Instagram restricts access to its API.
Does anyone know how to recreate this function?
Can I do this in the Instagram developer environment?
It has to be possible - there has to be a way around it.
One idea I have is instead of using Instagram's API, the content from all of a user's followings is parsed.

How to work with Firebase App Indexing for IOS Apps

i am in the process of making my app with firebase i am pretty much done with that except Firebase App Indexing. I am very exited with this feature because it could help me to increase my app get more traffic from the web but the problem is i really can't able to see how to implement this. According to Firebase Docs i just need to register my app with this pice of code
[[FIRAppIndexing sharedInstance] registerApp:your Apple ID from iTunes Connect];
I have done that but what should i do after that?
1.My app is firebase app that means i don't have any website to host my content except firebase realtime database. Does my content is available for crawlers? if not how can i make available to them?
2.If i can able to show my content in the google search results i don't wanna show all the content and i wanna show just some of my content for example i have a social app for sharing General Knowledge questions, i wanna show just the question like "What is the highest mountain" in the search results and if the user want to see the answer it should take them to my app how can i do that?
3.As per docs i came to know that i need to create univiersal links for my app content to direct users from google search but how shold i do that ? Lets say should i crate universal links when the user create question?? if so how can i do that ??
Thank you very much for the help.
This is not currently possible on iOS using Firebase App Indexing. The situation is slightly different on Android, but that is not applicable to your question.
On iOS, Firebase App Indexing is simply highlighting pages on your website in Google search results that have corresponding content inside your app. This is achieved by piggybacking on Apple's Universal Links standard, and there is no proactive 'crawling' going on inside your app. This means unless you have a corresponding web page for your app with 1:1 content parity, you can't really benefit from Firebase App Indexing on iOS as it comes out-of-the-box.
The best workaround is to generate little 'placeholder pages' for every piece of content in your app, which the sole purpose of opening your app (if it is installed) or redirecting to the App Store (if it is not installed). Ideally you'll need some sort of deferred deep linking system so that users still see the correct content after downloading. Fun fact: this is essentially how HotelTonight operates their entire business model. Unfortunately Firebase's implementation is not mature enough to support this full flow, and Google hasn't quite figured out how to rank app-only content properly yet in search results so you will probably need to pro-actively submit your placeholder pages to them.
Shameless plug: at Branch, we provide all of the above as a free service. You can read more about it here and take a look at the set up docs here.

How to fetch Facebook user's full friend list in Facebook iOS SDK

I had a question concerning the Facebook iOS SDK that has been troubling me ever since i started my iOS project so I thought I could post it here to see if any of you had wisdom to share on this matter.
For my Facebook connected app to function properly I need to have access to the Facebook user's complete friend list along with their names, ids and profile pictures. After some intensive research I was surprised to learn that in version 2.0 of the Graph API Facebook has made it so that you can only retrieve a friend list of your friends who are currently using the app and have approved the app. This kind of data doesn't really work for my app as the main point is that you are met by your friend list as opposed to an empty list with only a few people who have approved the app.
My question is if there is any possible way for me to have access to the user's full friend list and display it in a table view with their profile picture without every single one of them having to approve the app. I don't mind if it is a complicated solution. The reason I ask this is because i have seen several apps that can fetch full friends lists such as:
http://www.connect.com
and
http://www.birthdayboardapp.com
and they must have found a way to do it as the way Connect displays the user's friend list is exactly the way I would like to do it i.e. in an iOS contacts app style way.
I would be grateful for any guidance or solutions,
Thanks Again!
P.S. Here are some questions I have previously looked at but do not suggest possible workarounds
Facebook Graph Api v2.0+ - /me/friends returns empty, or only friends who also use my app
Get ALL User Friends Using Facebook Graph API - Android
There are no workarounds, if it works in some other App then it just means that they are still using a Facebook App created before end of April 2014. They will stop getting the full friendlist after April 2015, when v1.0 Apps will get upgraded.
There are ways to get the whole friendlist like invitable_friends and taggable_friends, but those endpoints are supposed to get used for very specific tasks (for inviting in games and for tagging).

Initiate Facebook Group Chat from iOS App

I want my app to create a new Facebook group chat with certain people that opens either on Facebook's site in Safari or in the native Facebook app when the user presses a button. I want Facebook to handle the whole chat and my app only to initiate it somehow in the cleanest and least involved way possible. My app already uses the Facebook SDK to open an active FBSession, so I've already got login credentials.
Looking around online and in Facebook's docs, I can't find anything that suits my needs. The closest thing I found was in this answer containing a list of Facebook app URLs you can connect to that open the Facebook app to certain pages. There's "fb://chat/(initWithUID:)" and "fb://messaging/compose/(initWithUID:)". However, not only is there no explanation on how to use these, but people say that Facebook has changed these URLs (and does not have any documentation on them), so they don't work anymore unless I reverse-engineer new URLs (which could change again). Ugh, so close!
I also found examples on starting chats with the Facebook Chat API, but that involves logging into Facebook using some networking framework then writing my own GUI and model for sending messages, which I am only prepared to do as a last resort. There should be some way to let the Facebook app or website do all that. Does anyone know how I can do this?
I've found something very close, but I still don't see a way to make my app initialize it with the desired group of friends:
The Facebook SDK has a message dialog that can appear for sending messages to friends. This isn't exactly what I wanted but is good enough because it means that all the programming is already done for me by Facebook, and users should be able to see these messages on https://facebook.com and the Facebook apps. https://developers.facebook.com/docs/ios/share#message-dialog

Fetch Google plus news feed in native ios

i am working on ios app, and i want to fetch Google Plus news feed like friend list, user detail, in my ios app.
in facebook its possible to fetch the active user's profile feed, but for google pluse i didnot found any thing to show user feed.
if any one know how to do this for iphone application then please help me.
thanks in advance.
After you have signed in a user with Google, you can access the user's age range, language, public profile information, and people that they have circled.
If you request the plus.profile.emails.read scope, you can also get their email address. With this rich social data, you can build engaging experiences and an instant community in your app.
For example, you might connect your user with their friends that also use your app or you might make suggestions based on their friends' activities within your app.
Please look at Getting people and profile information

Resources