I have an app page on Facebook.I want to fetch all post of my app page in my app.i know that it is possible from Facebook part api but i am not implementing that so any one can help me with proper stepping.
This is posibble with using facebook api for android.
https://developers.facebook.com/docs/android/
You need this instruction - https://developers.facebook.com/docs/sharing/android
Related
I'm in the process of creating an app in Android Studio that is integrated with the Pinterest API. Like other services, Pinterest requires users to log into their accounts by redirecting them to their site with certain parameters (response type, scope, client_id, etc).
This is what they have as an example for the request to direct users to:
https://api.pinterest.com/oauth/?
response_type=code&
redirect_uri=https://mywebsite.com/connect/pinterest/&
client_id=12345&
scope=read_public,write_public&
state=768uyFys
How do I use this to direct users to the Pinterest login page? Is this a GET or POST request I would need to use Retrofit for?
Link to Pinterest API documentation: https://developers.pinterest.com/docs/api
Thank you in advance,
Hannah
Pinterest have an Android SDK here: https://developers.pinterest.com/docs/sdks/android/ under the Authentication, they have created a sample login using the SDK
I have a wordpress website, for which I was developing an android application. GETing data is pretty easy, as no authentication is required. But posting comments, liking a blog, these actions require authentication. Can someone guide me about how to social login (Google or facebook login) to authenticate and post comments or like a post, through the android application.
There is Rest API. You can use it to manipulate data without using web interface at all.
Also there an article about using Rest API in Android
oauth is pretty simple. You just need to get a token(string) from Google or Facebook and you will use in Rest API.
Want to post some photos or link on user Facebook wall without using FBSDKShareDialog. I am already post with using the FBSDKSharePhoto And FBSDKShareDialog defult dialog from facebook. For that I do the below code.
If you don't want to use the dialogs (regardless of whether you invoke them using the SDK or your own code), you will have to resort to using Graph API.
In order to create posts using Graph API, you will have to POST to the /me/feed endpoint (docs), but that requires an access token.
In order to obtain an access token from Facebook, you need to implement Facebook login, and their Platform Policy section 7.2 says:
Native iOS and Android apps that implement Facebook Login must use our official SDKs for login.
So in the end, you might as well use their SDK after all, or risk your app getting blocked.
However, assuming you have an access token and you are using the SDK (but not the dialog - since that is what you are actually asking), you can use this docs section to learn about how you can make Graph API calls using the SDK.
I'm creating an Android app and I need to integrate some Facebook functions in this app.
Among them I need to share some Facebook page posts. I try to use native share button.
https://developers.facebook.com/docs/sharing/android
But I can't achieve the sharing of the page post. When I try to share the page post I can only share the page.
For example, I try to share this post
https://www.facebook.com/ArsenalThePrideofEngland/posts/863092823730119
and as a result I get the sharing of this page
https://www.facebook.com/ArsenalThePrideofEngland
I read the Graph API docs about the sharing and I discover that it's not possible to use it for sharing.
Is it possible at all to share the Facebook page post using custom Android app?
I am trying to create an Android app and I want to send a Facebook friend request through Android Facebook API. I have spent some time but couldn't find an interface for this. Is this possible to do this through Facebook API if I know the person's Facebook id?
It is recommended that you use the Friends dialog: see http://developers.facebook.com/docs/reference/dialogs/friends/ for details.