I'm not a facebook developer, i'm a newby in android/facebook integration.
I'm trying to share images with text, for some known reasons/bugs facebook won't let the share intent ACTION_SEND to work correctly, not filling extra fields like EXTRA_TEXT, EXTRA_HTML_TEXT, EXTRA_SUBJECT.
As a workaround, i'm trying to use FacebookImageShareIntent but somewhere it requires the application ID.
What is it?
Why should i need it in my android app?
Should i create a new application in developers.facebook.com/apps/? To do what?
When i access that page i see a "loginF" application that has an App ID, who created it? Should i use this App ID?
I tried googling for a while, but still don't understand...
Please, someone clarify, thanx
You need APP ID to use Facebook APIs. Use Facebook Getting Started tutorial to get your APP ID.
Related
Is there any way to start a facebook chat using the messenger application. I know we can lead a user to the messenger application using intents and using their Messenger API. But I want to do is open a chat window directly with particular user using the facebook User Id.
Is that possible?
I found this post
Android Facebook sdk messaging ID mismatch
I couldn't really find much else and I was hoping the new messenger API might support that kind of an interaction?
The answer is in the first comment of the other thread: That solution does not work with App Scoped IDs, and you don´t get the real IDs anymore. Even if it would be possible, you can only get App Scoped IDs of friends who authorized your App too. Meaning, it´s impossible.
to start Facebook messenger with a particular user
check this answer dear will help you how to start with particuler user
try this...
final Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("fb://messaging/" + facebookId));
But you have to know the facebook id .
Ref: How to open specific contact chat screen in various popular chat/social-networks apps?
I want to create an app that allows a user to post to Facebook, but I want this to view posts by other users using the app, so basically a blog app in between friends using the app. How do i go about doing this, what API's do i use?
You Need to Checkout,how Oauth2 Works and check the Facebook Sdk for android and ios,there is a sample application in the sdk package,try that it will help and make you know how to use it in your application.
iam develop one app and up load to Play store, and create facebook account for that specific app.
Question: Is there any way to like a Facebook page using the Android Facebook SDK,? In one of the activity am create button when i click that button how to like My App Facebook account?
Edit:First is it possible in case possible how solve this issue? Any one have idea give me some suggessions?
see https://developers.facebook.com/docs/reference/api/page/.The Facebook documentation for Pages has been updated and is current . You cannot like a Page via the Graph API, even though you can read the like count information. There are not an API for it, you can try this. like android application page in facebook from application itself
i know this question looks like been asked several times.
But there aint a clarity of answer .
Share a Facebook app ID across apps Android
My requirement is i already have a app with the bundle id [com.mycompanyname.app1]
Im going to push a lite version of the same app by the name com.mycompanyname.app2]
I already have a facebook app for app1.
i don want to create another fb app for app2 as it would divide the user access.
If this is doable let me know how i can do it ?
Thank you guys
Actually, it's very simple. You just need to use the same keys and credentials that you used for your first android app in your next app. It will work. When you go to Firebase settings, you can see that you can add another android app, but authentication settings are common for both your apps. So you do not need to change anything. As mentioned in comment, app package that you specify in Facebook console, is used only for deep linking. It does not matter for authentication.
Is it possible to take facebook id from other
mobile application ?
Only if the app is storing it in a public place. Why not just use the Facebook SDK rather than relying on if a phone might have an app you might get the info you need from?
https://developers.facebook.com/docs/guides/mobile/#android
I doubt the extent of your app is to JUST get the id if it is use a dialog as the comment above suggests. If however, you want to interact with Facebook use the Facebook SDK.