I am currently trying to build a USSD service using Facebook API's.
However, Facebook has upgraded to v2.0 API's and now it requires Facebook permissions in order to use some features.
So firstly, what should i create the type of my new app in Facebook developer site( there is not USSD type, the types available are iOS, Android, Facebook Canvas and Website)?
And how can i grant access to the features that i will use(manage_notifications,publish_actions,read_requests,read_stream,status_update)?
Related
I'm trying to create an app with the new Graph API for instagram business accounts.
I am following the documentation here
It says after adding Facebook login, I need to submit the app for review to be able to use the api, and I need to create a screencast on how the app will be used.
Am I looking at the wrong documentation? How am I suppose to create the app without being able to pull any data from the API?
Is there no sandbox mode until the app is developed that I can use?
Do I have to create an app using the Instagram API first to be able to request permissions to use it?
While I haven’t had any experience in Instagram apps, I do have a bit of Graph API experience with Facebook
While in development (a switch at the top of the App Dashboard), any developers and administrators can test the app using any and all permissions. To make the app public however you need to submit for review.
The new instagram graph API is an extension of the existing Facebook API.
So you can make requests on the new API by have a facebook login on your app, then requesting access for the users pages and the users instagram data.
Once you are able to access their pages data you can submit a get request and fetch ?fields=instagram_business_account
once you get the instagram accounts ID, you can make requests on it following this documentation
In development you can only access your own pages, once you build using your own data then you can submit your app for permissions, and finally you can submit your app for review.
I am working on building Facebook integration from an internal company application to allow for creating Ads on Facebook using their Marketing API. In order to accomplish this, it appears creating an "App" is a necessity to be able to get access to their API. This App will ONLY be used for API communication and should never be needed by an end user on Facebook.
My problem is the App is currently in development mode and I need to submit it for review in order to qualify for a higher level of API access to not be as rate limited on the number of requests. Since this App is only used for API access is there a way to keep it hidden from the general public on Facebook? It should never be needed to be accessed directly from any random Facebook account, only from the SDK we are using interally.
We’re developing the application for managing news feeds, and we’ve planned to use users’ republications on Facebook for collecting and sorting news from different sources. Our app can be used as Facebook application, as traditional web site, and also can be accessed from other social network websites (vk.com, twitter).
Does it violate the rules of using read_stream (https://developers.facebook.com/docs/facebook-login/permissions/v2.2#reference-read_stream) permissions? If so, is it possible to use permission only on Facebook application only? I’m asking because this feature is very crucial for our future development.
Thanks in advance…
As it says in the article you posted, you will most likely not get read_stream approved at all for your case:
This permission is granted to apps building a Facebook-branded client on platforms where Facebook is not already available. For example, Android and iOS apps will not be approved for this permission. In addition, Web, Desktop and TV apps will not be granted this permission.
The existing website uses Facebook OAuth for login. The plan is that soon that certain events on the site will be posted to the user's timeline. The "userA watched xxx" kind of thing.
We're also at the stage of starting an iPhone app to connect to the website's data API. If the user has authenticated to the website with the mobile app using the facebook login:
would the mobile app need access to the Facebook oauth keys? I'm guess not, as the user would do something, and the website would have the credentials stored to post to facebook, but I'm not sure.
would there in fact be 2 apps, one that is facebook based and one that is not?
Apologies if this is really basic information I'm asking, but I've not developed Facebook apps previously and the information I look at isn't always clear.
In my apps, I code two authentication flows, one for facebook users, and one for users without facebook (this is the typical, create your account, and subsequently login with your username and password). So one app, two login flows.
Regarding the app accessing the Facebook oauth keys, if you are coding with the Facebook iOS SDK, you won't even need to worry about the oauth key itself, as it's totally encapsulated by the SDK. You'll simply invoke methods to trigger authentication, and then once the user is authenticated, you can call other methods to invoke certain aspects of SDK/API.
The Facebook iOS SDK supports all the functionality you'll need to make the posts directly from the app itself. You won't need to make an API call to your server, to then make a second call to the Facebook API. Just handle all that from the app directly. So if your app does depend on a successful API call to your server, prior to posting to Facebook, make that API call, wait for the response (that either includes additional data, or a success:true flag), and then make the post to the Facebook via the Facebook iOS SDK.
The Facebook iOS SDK docs are AWESOME these days, and the code samples are even better. Check them out at:
http://developers.facebook.com/ios/
I am having this problem while building one iPhone app that connects using Foursquare. Its works fine with me to connect by using foursquare credentials but now my client want facility to login foursquare using Facebook credentials just like foursquare is doing in their native iOS app as well as on Website.
For Login i am using foursquare v2 api with oAuth login.
Can any one help me out to solve this issue?
According to Foursquare developers, "You can't use facebook credentials to access foursquare, you'll need the user to specifically authenticate your application to access their foursquare information".
Edited because I typed Facebook when I meant Foursquare