i want to open facebook through other android app, not via its official app nor via browser. i want it to be opened within my app. can i do it only by using its API? or is there any other way? if its possible through API, can anybody tell me some ways to do it? please help me guys.. thanks in advance :)
Hello Punith you can use this code for open the Facebook on our device
`
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("facebook://facebook.com/inbox"));
startActivity(intent);
Just go to Facebook developers, login there. Create a project there by mention your app name, redirect url. This will generate a client Id and secret for you. Then all you have now, mention this client Id , secret and redirect url in your app and you can now access through Facebook in your app.
Related
My app successfully connects to Facebook using Facebook's Graph API, requests access to the pages I want to post to and redirects back to my app. That works like charm.
My problem is that if I created a new page on Facebook, I cannot add it to my app:
When I try to connect again, Facebook seems to know what I have requested earlier and I'm immediately redirected to my app without the request which pages I want to allow access to.
How to reconnect or what's the normal way to fix that problem?
I use Facebook's PHP Graph SDK 5.7.
#CBroe That didn't work either, but then I've cleared all permissions and chosen to reopen the site selector dialog, chosen all sites and closed, removed the information from my database and reconnected... Now the dialog appeared! Thank you for your help! Helped me a lot!
I'm planning to build an app that gets my friends (I am the app owner). I don't need people to login or anything. The app is just for me. Question: do I need to ask for permissions or an app id and app secret should suffice? Facebook documentation for developers does not seem to cover this specific case...
Thank you in advance!
I have a facebook app, in which I am opening my website's pages. I want to use open graph in this app. what I mean is this:
user can see all pages and can post as a open graph. When any user's click on ticker link on facebook, it should open into my facebook app. (similar like social reader app).
Please tell me is it possible?
Use fandjango to deal with the authentication for your canvas app and then use facepy (by the same developer) for interacting with the Graph API
Use Fandjango for authentication and facepy for graph api.
I'm new to facebook apps, and actually all I want is to add a 'contact us' tab to a 'like page' that I'm helping to manage. I have setup a server with PHP code, and opened an facebook app. (I left the SSL part empty because my server dose not support SSL.) And now I'm just trying to add the app to the page, but I can't find where... It's probably just a link I haven't noticed yet, but I can't find it.
I've googled around the internet, but all explanations I found where old, and didn't help me.
Just for clearness: I want to know how to add an existing facebook app to an existing facebook page
Thanks.
https://www.facebook.com/dialog/pagetab?app_id=YOUR_APP_ID&display=popup&next=YOUR_URL
Here the documentation
https://developers.facebook.com/docs/reference/dialogs/add_to_page/
I am searching for an automated mechanism to create a facebook app from my java program/servlet.
Usually, I have to go to developers.facebok.com, then click the "Apps" link at the top, then hit the "Create new App" button and create an app by providing the site url etc.
I am having a requirement where a user enters his facebook id in my site and hits the "Create App" button. My site will authenticate with facebook using OAuth 2.0 and will have to create an app in the users account. The app generally points to the user's profile page of my site.
Is it possible to do this? Can any one help me?
Thank you all in advance.
In short, no you can't. You have to verify that you are a human when you create an app, and facebook intentionally do not provide a way to programmatically create apps.