Skip to main content

All Questions

1 vote
1 answer
585 views

Is there any new way to open fb url directly in fb not browser?

public static Intent getOpenFacebookIntent(Context context,String url) { try { context.getPackageManager().getPackageInfo("com.facebook.katana", 0); return ...
Youssef Reda's user avatar
1 vote
2 answers
494 views

How to send message to facebook

String url ="https://m.facebook.com/messages/read/?fbid=101631428274763"; Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url)); startActivity(intent); I want to directly send ...
Man's user avatar
  • 17
1 vote
2 answers
2k views

Open a Facebook post URL in android Facebook app programmatically

I'm coding an android - java app which can open a Facebook post url (ex: https://www.facebook.com/BaHangXom.0/videos/2377836809193490). I tried some ways to start Facebook app with intent but ...
phong dep trai's user avatar
4 votes
0 answers
512 views

Open complete facebook page from android app in facebook app

I want to open a Facebook page in Facebook app from my android app. The page is opening but does not look like complete Facebook page like it normally looks. It is not showing the profile image and ...
Kashish-Chugh's user avatar
1 vote
0 answers
808 views

Intent URL to open the Facebook app to a groups page

I am trying to open the Facebook app from inside my app using an intent. I am using codename one to create my app and I am trying to link to a facebook group. My current code is as follows: Boolean ...
Kieran Jennings's user avatar
1 vote
0 answers
81 views

Facebook ShareDialog causes => Failure delivering result ResultInfo{who=null...}

It's working fine, but when I click anywhere but the dialog so it would cancel, another dialog show which make me chose either to keep as draft or discard.! see pic below..! If i chose discard => ...
Alaa AbuZarifa's user avatar
2 votes
0 answers
401 views

How to get click event in android direct share

I've implemented Direct Share in my android app. Its working fine but the problem is I want to get click event means if I click on facebook then how will I know that facebook was clicked. Because I ...
Ruchir's user avatar
  • 1,122
2 votes
0 answers
469 views

Android crashes with Intent.createChooser(Intent,title) because of facebook messenger :Service not registered

android.app.ServiceConnectionLeaked: Activity com.android.internal.app.ChooserActivity has leaked ServiceConnection ActivityInfo{6ca8053 com.facebook.messenger.intents.ShareIntentHandler} that was ...
Ramesh Jhajharia's user avatar
0 votes
2 answers
4k views

Android - Java - Intent to send facebook chat message (facebook disabled xmpp)

***Facebook deprecated xmpp api. Is there a way to open an intent (or pass data to fb) to send chat message on android device? Facebook & Messenger apps installed on the device. Thanks :-)
YoniR's user avatar
  • 110
0 votes
2 answers
193 views

Go to another intent when login to facebook was succesfull

I've created an app with a facebook login button. I want that, when I successfully login to facebook to go to another intent... I've written some code, but I've got some 'weird' errors (my opinion) ...
Andreea Mateescu's user avatar
1 vote
2 answers
368 views

How to open Facebook app on user timeline?

I'm trying to open a facebook app, from my app, but i need it to go to specific user's timeline. I can open it in the phone browser it works fine, but i can't open it in facebook app... I know ...
Gidi Sprintzin's user avatar
0 votes
0 answers
485 views

Android - Programmatically Screenshot and Share to Facebook

I have button which function is to take screenshot and share it to Facebook. when i try it in my Samsung with JellyBean OS device its working perfectly, but when i try it to BlueStack with JellyBean ...
bernzkie's user avatar
  • 1,259
1 vote
3 answers
6k views

Cannot resolve method onActivityResult

Im trying to create an application that allows sharing images and videos from gallery into facebook. There is error popping up in my coding in this lines (highlighted in red) : "onActivityResult", "...
marian's user avatar
  • 287
0 votes
1 answer
78 views

Post image on facebook wall

I have been looking for posting image on facebook wall since morning and googled it, got much info about posting BUT no luck for me. I can post link without any errors but once I try for image getting ...
Mallikarjun Hampannavar's user avatar
0 votes
1 answer
36 views

Do intents no longer work for posting images on Facebook?

I created an app some time back, using intents. Now it is not working. I learned somewhere that text and image posting through intents are not allowed. I just want to confirm this is the case. If ...
navjosh's user avatar
  • 187

15 30 50 per page