Facebook Android SDK walkthough - android

I'm trying to find a clear and detailed walk through on how to set up the Facebook sdk user logon inside my current app. Ive tried to do it on my own by using the Facebook example apps and their walk through but nothing i do works.

There are lots of tutorials online, here are just a few:
helloandroid.com part 1 -- helloandroid.com part 2
ericosgood.com
android10.org

Related

Android Gdx: Sharing Content on Facebook

Coding in Gdx is a bit challenging, I have developed an android game in gdx. Everything went smoothly except for the part of sharing content on Facebook, I really got stuck and I don't really know how to do it. I want to share the score and a link.
if anyone has an experience on this please help.
This is nothing else than showing the Android share dialog. You can see an example on how to implement platform specific code in the libGDX wiki page, and see the Android documentation on how to show the share dialog.

Firebase dynamic links not tracking app installs

Dynamic links screen shot
This is the screenshot of my dynamic links.
As you can see, the link has been clicked quite a lot,
but the chart indicates 0 app installs, 0 first-opens.
yet there are 3 re-opens.
Also, on the same projects, for the same duration,
the first-open as a whole is recorded
firebase analytics - events screen shot
so the first-open event does work.
Only the first-open events using dynamic links don't seem to work.
Any ideas? Thanks!
I got answers from Google team.
To summarize, did you incorporate dynamic Links SDK into your app?
To receive data being passed to your Dynamic Links, you need to include the Dynamic Links SDK in your app and call the methods FirebaseDynamicLinks.getDynamicLink() for Android, and handleUniversalLink: and dynamicLinkFromCustomSchemeURL: for iOS.
Note that these methods should be called at every entry point in your app that will be launched by the link.

Extract html data after logging into website from android app

I recently started to learn to develop apps for android, but I'm stuck for quite a while on 1 problem:
I want to log from my app to a website (http://student.tu-sofia.bg/) and download some data from it, so I can use it later in my app. I have red different articles and tried different things but in the end nothing worked. The closest thing that I got as a result was receiving the source code of the login page( tried this Android: How to programatically login to website and retrieve data from it?)
Can someone tell my what I am doing wrong or give an advice how I should approach this ?

Deep Link to a Facebook Page

I am new to this Deep Linking stuff, so I would really appreciate your help.
I have a post on Facebook and i need it to point to a page.
BUT when I open the link on mobile, I need it to send me to the page i want people to like, but in the Facebook App on each phone (mainly iOS and Android).
I already tried fb://profile/[pageID] but it doesn't link to the specific page, just newsfeed, inside the app. Also tried fb://page/[pageID].
The good part is that it opens it in the Facebook app.
I feel that I am so close, but I don't really know what I'm doing wrong.
I would really appreciate your suggestions!
Thank you!
To deep link to a specific page, use fb://page/{page_id} for Android and fb://profile/{page_id} for iOS.
Tested on Facebook iOS v57.0 and Android v80.0.0.21.65.
Find your page ID using http://findmyfbid.com
if the page ID you used is a text format (fb://page/example) it will not work (i don't know why)
but if it is a long number it will work like for example fb://page/1111111111

Android Facebook 3.0 Customize login dialog

I am using the new FacebookSDK and want to use the SSO login feature. What happens is that you get a very ugly Dialog with the requested permissions listed in them. I would rather have the old way(see hackbook sample, still uses sdk 2.0 Facebook.authorize()) where you get redirected to an Activity of the Facebook app that has a nice layout.
I searched through the whole facebookSDK and stackOverflow but couldn't find a way to change the dialog. I could still use the hackbook way with the Facebook.authorize() function. but if i use it Eclipse crosses it through because it's Deprecated.
If you know a way that would help me please let me know
Kind regards
I believe WebDialog is what you are looking for.

Categories

Resources