Twitter-based application in android - android

I am trying to build an application for android devices. It is supposed to be similar to youtube's "related videos" part, or for example, in amazon.com you see a part that says people who viewed this book also viewed these etc. I want to, for example look at the hashtag called "hobbit" and try to find which movies were also watched by these users. I do not really know where to start can anyone help? thanks.

You didn't say if you have any knowledge of Android, so first you should start at the developer page and get a basic understanding of Android development.
Twitter also has a developer page
You can parse tweets and look at their hashtags.
Tweets always have Entities that provide metadata and additional contextual information about content posted on Twitter.
In those Entities you can get the hashtags
"hashtags":[{"indices":[32,36],"text":"lol"}]
After you got those hashtags you can search for it using the Twitter API.

Related

Scrape data from Instagram Activity Tab

Maybe anyone knows how can I fetch/scrape data from Activity Tab - Following Section where you can see what your friends (those who you follow) like and comment?
Here's the screenshot of what I mean exactly
This section seems to be unavailable on Instagram Web and also not mentioned in Instagram official API.
But these guys https://snoopreport.com do it somehow.
For instance, when you start tracking someone's activity, some automatically created Instagram account instantly follows the one you want to track and scrape that info somehow. How is that possible without any API?
Is it possible to create VM's with android emulators or smth to be able to scrape it?
Unfortunately you have answered your own question. There is no API for it (see docs here), it's not possible to scrape content from an iOS app, and you correctly pointed out it's not available on the website. Unfortunately I believe it just can't be done.

Google App Indexing: how to map my website links and app deep links

I'm an Android Developer and I've been asked to implement app indexing in an app I've recently been developing.
The app is the app-version of this web hotel search engine: https://www.hotelsclick.com and is already live: https://play.google.com/store/apps/details?id=com.towers.hotelsclick
Now, I understand that the best thing to do in order to tell google about my app deep-links is to have a correspondence between website URLs and app URIs.
In the website I can link to a specific hotel (i.e. https://www.hotelsclick.com/?hotel_id=135738) and I think this would be good for app indexing because I could tell google that when the user is mobile-searching for that hotel, most probably by name and not by ID ;-), he could be redirected to a specific activity of my app passing that ID as a parameter. I guess the URI could be something like myappbaseuri://hotel_id/135738, right?
Now, there are some questions that come to my mind:
1- Will Google automatically map the hotelsclick.com/?hotel_id=something queries to the myappbaseuri://hotel_id/something? If not, where should I tell him and how? Of course I don't want to specify ID by ID, and I guess it's not needed as well...
2- Right now the app does not implement all the features the website does, and there's not a corresponding activity for each website page. Shall I put in the .noindex file all the urls of the website that don't have a matching screen in the app? Isn't there a way to tell google just the pages which correspond, and therefore ignore the rest for app indexing?
Thank you for any answer you'll be able to provide. I hope I didn't get all the topic in the wrong way and the question is not off-topic
You can map the urls of the website to the screens of the app in two ways - by mentioning the deep link in sitemap or on each of the web pages. This link describes clearly how you can go about doing this.
To answer your two questions,
I assume that on the website, you generate the pages dynamically using the hotel_id. In each of these pages you can mention a rel="alternate" link in the head dynamically. This will do the job of linking the pages to screens on app. This, like you said, is not a manual process.
Putting a noindex file on the website is a mistake for what you are trying to achieve. If you include a url in a noindex file, you are not telling Google that there is no corresponding screen on the app. You are actually telling it not to crawl and index the web page. This is obviously not what you want. To achieve what you are trying to do, all you have to do is not mention any deep link as rel="alternate" in the head section of the page. That's all.
Hope that was clear.

Android deep linking without corresponding URL

So from my understanding android application deep linking works like this:
You have a website with several pages. For each page, you define a deep link. This makes the app show up in google search instead of the website if the search term matches.
For example, if I add a deep link to http://example.com/entry/entryname and someone googles for "example entryname", he sees the deep link to the application instead of the website.
My question is, is it also possible to add your app in a "deep link like style" to googles search without having webpages for it? In this case, I have an app showing several wikipedia like entries to a specific topic. I also own the domain corresponding to the app. I now want my app to appear in google search if the user searchs for that topic and my app has an entry for the given search term.
Ie: user searches "example entryname" -> google search shows the deeplink of my app, although there is no http://example.com/entry/entryname
thanks in advance,
danijoo
see here
Support HTTP URLs in Your App
here clearly written that
"Note: If you have an app without corresponding web-page content, and you'd like it discovered by Google Search, fill out our app-only interest form. This is currently being tested with a few developers."

Retrieve Facebook page wall in android app

I want to get the wall posts on a Facebook page on my Android app and present it (It would be better to present it in the layout similar to official Facebook app for Android).
I have just started using Facebook SDK and am able to log in/out of my profile. I read various stackoverflow posts on this topic but I couldn't get things working with any of them. All I understood is that Graph API can be used to get Facebook page's contents. However, to access Facebook pages, it needs some authorization tokens, which I couldn't really understand. There being no simple actual tutorial on how to do this, it seems complicated to me.
Can anyone please simplify the steps to get the posts from Facebook page and present it in my app? Also, is it possible to get official Facebook App style layout for the presentation of page wall contents inside my app?
Any help would be appreciated.. thanks a lot in advance.. :)

Is there a way in which Pinterest can be integrated with an android Application

I wish to drop pins or view the photo's which are of my interest in my Android Application, do we have any SDK by pinterest , as I would want to integrate the same inside my Android Application.
Any suggestions would be like a boon
http://developers.pinterest.com/android/
This is for others who might want to get started with pinterest and land in this page.
It seems like the answer is "not yet"... But go and sign up with them, I'm sure it's on their radar and will come soon enough if it's in their basic FAQ.
https://support.pinterest.com/entries/21151603-i-m-a-developer-does-pinterest-have-a-public-api
Another option (or just for the meantime before they release an official API) may be if the official pinterest app offers an intent for sharing? Plenty of other social web entities like twitter, facebook, etc give intent based access in their official apps, that let you dump media, links, etc into them from other apps in the system, and have the information posted to your accounts.

Categories

Resources