Using API's in android studio - android

I'm currently working on an app that requires match data from tinder but I have never worked with API's before and I'm not too sure how it works. I found some projects on github using the tinder api which I will link at the end there are just some parts that confuse me. Firstly all of the files are in python so is there a way I can implement that in a java file in android studio? Also it says that facebook authentication is required for the api to work so would having the user log into the app with facebook solve that issue?
https://github.com/fbessez/Tinder

Related

How to use Telegram API for Android

i want to use the Telegram API to create an Android app that works with Telegram data.
I already registered a new app and i have an api_id and an api_hash.
The problem is that i don't know what do to next, i tried to read the documentation but i find it really messy, it just jumps from create the app to authentication but doesn't explain how to setup android project and other necessary things.
I already tried to search some android project as this:
https://github.com/DrKLO/Telegram
But when i start it simply doesn't works and send NDK errors.
Does someone can explain me the steps to do next?

Unity Facebook SDK: Dialogs Cut Off

When I show the Share or Send Request dialog from my Unity app on Android, they seem to be cut off at the top.
There is a question about exactly the same issue using the regular (Java) Facebook Android SDK: Dialog on Android KitKat seems to be cut, but all of the solutions there require direct access to the Java classes.
Has anyone seen this issue with the Facebook Unity SDK? Is there a way to fix this, apart from using the Java SDK instead of the Unity SDK?
I'm using Unity 4.6.3 and version 6.2.2 of the SDK.

Facebook Android SDK - Friends Picker not working

I have started learning FB integration in android tutorials from the facebook developers site. But what I have observed is that the Pick Friends activity in the provided example projects (Sample Projects Scrumptious and HelloFbSample) doesn't work either in the emulator or the smart phone. Is either anybody experiencing the same problem ?
The Graph API v2.0 shows only friends who are also using your app. See Don't get all friends of facebook in my ios app?
Even though The Facebook Platform v2.0 shows only friends who are also using your app, you still may be able to see the entire list of friends provided:
1) You are using older version of facebook sdk, as I am using 3.5, it's working well for me.
2) You must have registered your app in your facebook developer account before April 2014.
This will work only till April 30, 2015. After that the friends who are using the same app only would be visible.
Reference:
https://developers.facebook.com/docs/apps/upgrading
https://developers.facebook.com/docs/apps/changelog
I have found a few workarounds that will show a users friends, however you cannot interact with them. Like inviting them to your app. Facebook has bascically restricted this kind of behavior to games only but if you read my issue request here on HelloJS you will see i have a few solutions that might help. In no means is this for Java (Android) its for web based/cordova mobile apps not native android (java)
https://github.com/MrSwitch/hello.js/issues/57

Integrating Facebook into an Android app for advertising via Facebook

I have an existing Android app which I am trying to advertise via Facebook ads. Facebook said I must integrate their library into my app, starting with downloading their SDK.
When I downloaded their SDK from here: http://developers.facebook.com/android/ there was no .jar files in it but examples of apps using their classes.
I think for my purposes I just need to make a call to Facebook when my app starts up, right? Because I don't want any Facebook functionality. I just want to be able to intgrate enough to b able to advertise in their system.
Could anyone please help me understand what I need to do?
Should I just copy all the classes in their Facebook/com/src folder into my own project? And if so, where do I add the access key and secret key for my Facebook app into my Android app?
Thanks!
- Alex
The Facebook SDK is not a simple jar file, but is instead an Android Library. If you're using eclipse, you need to import the SDK into your workspace, and add it as a library to your project.
See the google docs on how to add a library http://developer.android.com/tools/projects/projects-eclipse.html
And also the Facebook SDK Getting Started guide https://developers.facebook.com/docs/getting-started/facebook-sdk-for-android/3.0/

Does the swfjunkie Tweetr library actually still works?

I need to add twitter integration into an AIR for Android application and I've found the http://wiki.swfjunkie.com/tweetr library.
But, none of the examples given on the site seems to work... http://wiki.swfjunkie.com/tweetr:examples
Is this library still compatible with today's twitter API ?
Why are the examples not displaying any tweet ?
What would you recommend for adding timeline display and send tweet functionnality to an AIR for Android application ?
Thanks
Thomas
The Twittter API has changed in recent months, and I actually had to refactor some code in my apps to deal with it. Unless this library is updated, it won't work. Here's more information: http://mashable.com/2012/09/05/twitter-api-rss/

Categories

Resources