Embed a Business Facebook page in Android App - android

I would like to embed a business Facebook page on my application. I tried to find information, but there's nothing. I don't know if I should use the SDK or graph API and how I should use it. I found a post here some years ago, but no one answered. Can you please help, at least give me some directions?
Thanks!
SOLUTION:
It uses the webview with setWebViewClient, otherwise, it redirects to the browser. But the important thing I was missing is that the Facebook page has to be PUBLIC.

Related

Facebook Deffered Deep Linking with FB Unity3D SDK setup

so i made a game using Unity 5.2 with integrating FB SDK with it
i already made the app page, and already done integrating it on my android/iOS app, everything done quite well
now i want to use Facebook ads to boost my game even further
i go to this page http://developers.facebook.com/docs/app-ads/sdk , to verify if my game ready for ads setup
and i got this problem :
Problem Image
i honestly don't know anything about defered deep link, i already tried googling and youtube but still found nothing
the documentation on Android : https://developers.facebook.com/docs/reference/android/current/class/AppLinkData/#fetchDeferredAppLinkData
and iOS : https://developers.facebook.com/docs/reference/ios/current/class/FBSDKAppLinkUtility/#fetchDeferredAppLink
didnt help at all,
even when i search about it for FB unity SDK, i only ended up on this documentation page : https://developers.facebook.com/docs/unity/reference/current/FB.GetAppLink
which didn't explain anything about deeplink...
i already made the app.me facebook link for my app, and already use it on share feature on my app, but still it didn't count as defered deep link, which is very confuse me
i stuck here about couple days now, if anyone know regarding this, please enlighten me
thank you in advance :)
** after post it on facebook developer group, it seems no one know either, or didn't bother to help, still stuck till today :(
for android I followed this documentation:
https://developers.facebook.com/docs/applinks/android
and here is for iOS
https://developers.facebook.com/docs/applinks/ios

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.. :)

native app and paypal integration - "can we pay through paypal.com?" [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Paypal using Webview
So I have implemented android app with paypal MPL integration. App is cool and everything works fine.
I go to my client.
He says ..
"but why it doesnt go to browser? .. I dont trust this paypal popup!
I only make payments if a page redirects me to browser and i can see paypal.com in url..
only then I will type in my data, only then i trust it."
So how I can achieve that?
I was reading about MEPL, but it seems that I would need to implement a webview in my app, am I right?
I know it is possible. Since Facebook is doing something like that if fb app is not present on the phone.
thanks!
As mentioned in the comments,
this question answers the same issue
Paypal using Webview
Yes you are right. MECL is use WEB VIEW. But if you want to pay through MECL then you have to Create a web-service for payment. and just read the doc of mecl paypal and try to understand flow.
but MECL w/ webviews is not going to help with " I only make payments if a page redirects me to browser and i can see paypal.com in url." since webview doesn't display the url to the user.
So what you need to do is just directly integrate with PayPal Express Checkout (you would need a server side component for this) and launch the browser directly with the express checkout url. Make sure you add code in your returnUrl to re-launch your app after the user is redirected back to your server in the browser.
As mentioned in the comments,
this question answers the same issue
Paypal using Webview

Reading Facebook Statuses In Android

was just curious as to how I can go about reading Facebook status posts from a particular page through my Android application.
I looked into the Facebook API but that seems to be more related to making Facebook applications, which wasn't my intent.
If anyone can point me in the direction of a guide or link that will explain to me how to do this it will be much appreciated.
Well the whole idea of the Facebook API is so that you can call their functions to give you access to Facebook content. If you want to incorporate them into your Android Application, try using their Android SDK

Redirect to my web page by using Android Facebook SDK

I'm trying to redirect user to specific web page after log in. I'm using Android Facebook SDK. Full internet of examples how to post on user's wall, but I couldn't find any examples or advices how to redirect for example to my app fan page. I have analyzed SDK code - Facebook.java, I saw that they're using redirect_uri parameter, so I've tried to write this parameter myself, but I got only API error code (given URL is not allowed by the App configuration) or page not found message. Maybe I can't do it by using Android Facebook SDK and I need to use different tools, api? Any advice will be appreciated.
Thanks in advance.
I don't know if you still have this problem now.
I'm not sure also if i understood your problem fully, but if you had the same problem that led me to this page (I wanted my android-application to call the browser at a specific page) this code will do the job.
PeladroidLiteActivity.this.startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("http://www.peladroid.com")));

Categories

Resources