Applications List - facebook-apps

Is there a way to get a list of all public Facebook applications and some associated data with them such as category, id, title, description, etc.?

You can info on an individual application by using the Graph API:
https://developers.facebook.com/docs/reference/api/application/
You might also be able to use FQL to get a list of applications:
https://developers.facebook.com/docs/reference/fql/application/

Related

limiting JSON display values in API GET command

Invoking an API call to my Aspera Shares server to get specific users:
https://myserver/api/v1/data/users/
Displays each user, with 40 lines of values. I'm only interested in 3 lines: "name", "id", and "last_accessed". Is there a way in Postman to display ONLY these values for each user? I tried using a simple Params:
https://myserver/api/v1/data/users?email=*#somecompany.com
https://myserver/api/v1/data/users?id=99
but it does not display select users, just all users. Am I doing something wrong..? or is Aspera super limited with API?
Right,
the IBM Aspera Shares 1.x API is relatively limited:
https://developer.ibm.com/apis/catalog/aspera--aspera-shares-api/User%20Management
You can list all users, or a specific user by id. But all attributes are returned.
This is usually not an issue, as APIs are not meant to be used by humans but rather by software which can subsequently filter on needed attributes.
For example, if you get data by curl you can then filter using jq.
When using POSTMAN you can add a "test script":
https://learning.postman.com/docs/writing-scripts/intro-to-scripts/
If you just want some command line tool, there is:
https://github.com/IBM/aspera-cli

How to create a group in WSO2 Store

I have some APIs in WSO2 store, and some of them are grouped.
How can I create a new group and put APIs in it?
The project has been given to me without much info, and I've searched a lot about creating new groups, but with no success. My version is 2011-2013.
In WSO2 API Manager, APIs are grouped by tags. When you create an API from publisher, you can assign tags for your APIs. Then you can filter APIs by those tags in store.
There is a special set of tags which are called groups.
See https://docs.wso2.com/display/AM210/Customizing+the+API+Store#CustomizingtheAPIStore-CategorizingandgroupingAPIs

Social Tables data model

I've just started looking at the documentation as we are going to need to integrate Salesforce with Social Tables shortly, so I am really new to Social Tables.
Specifically, we will need to sync data between the CRM and Social Tables Events and Guests, and maybe other objects, so it would be very helpful to have a data model or similar to check the relationships and fields available in Social Tables architecture.
I haven't found anything in the documentation, is there any way to get this, even if it's at a high level?
Thanks
Danny
To make an integration with SocialTables you'll have to do a few manual steps, there is no way to do this completely programmatic from my experience. You'll also have to be prepared to contact SocialTables to get get correct guestlist ids. Also keep in mind that the API documentation isn't always correct, the API logic is also quite difficult to understand from time to time.
The first thing you need to do is figure out which version of the Venue Mapper you use. You'd want to use the 4.0 api and as far as I know this version of the api is only supported by Venue Mapper 3.0. I believe the Venue Mapper 3.0 is the frontend tool SocialTables provides to do the venue planning.
In social tables an event has two ids, one numerical one and one alpha-numerical one, when you use the 4.0/events endpoint you only get the alpha-numerical event id, and your going to need the numerical one. The only way I've been able to get the numerical id is to pull it out from the url when using the Venue Mapper, example of the url follows below:
https://plan.socialtables.com/team/{team_id}/event/{event_id}/space/{space_id}
Now you need to get the guestlist id, you can get that by using the following url, using the numerical event id:
GET https://api.socialtables.com/4.0/diagrams?event={numerical_event_id}
This endpoint return a json structure where one of the parameters is "guestlist_id".
Please be aware that the guestlist id you get from this endpoint might not be the correct one. I struggled quite a bit with this part and ended up with SocialTables sending me the guestlist id by email.
To get the guests in your guestlist use the following api endpoint:
GET https://api.socialtables.com/4.0/guestlists/{guestlist_id}
The {guestlist_id} is an alpha-numerical string similar to: cfdac1c0-yb1d-12e6-84a5-a39e92131645
And by that you should hopefully get access to your guests.
Hey thanks for using our API.
To answer your question, the best way to see the data model at the moment is to access our developer portal and use the API console to see what is returned. For events you will need to know the team id of the team you are working with use the team events endpoint to get access to the event ids.
https://developer.socialtables.com/api-console#!/Events/get_4_0_legacyvm3_teams_team_events
This will return some basic information about each event for that team. You can then request additional details for specific events by using this endpoint:
https://developer.socialtables.com/api-console#!/Events/get_4_0_legacyvm3_events_event

Category, list or venue group exclusive for my app

I want to develop a web app and use in it the foursquare API, I need to add venues and filter them by location, likes, checkins, etc..
Would there be any way to create a category, list or venue group exclusive for the app, and do my inquiries directly to one of them.? I was thinking save the IDs Venues in my database, but as I want to filter by number of likes, checkins and others, that only will help me to bring data from a venue.
The Foursquare venues database is for all to use, so when you make changes (adding venues, etc.) to it, they will be seen by the entire Foursquare community (app users, developers, etc.) Categories are curated by Foursquare itself, and there's no way to add them via the API.
There could be two approaches for you to take here, depending on your app's needs. You could simply retrieve venue data from Foursquare each time you need it, and then once you have these venues, perform the filtering you want. Since you also mentioned creating your own categories, you could also associate venue ID's with your custom categories locally.

Google Shopping API - multiple store information

We are developing an app for mobile, Mainly using Google Shopping API.
In the response we are getting one store info for one particular product.
Is there any other way to get multiple store info for one product in the response for Google Shopping API
Regards,
Bhat
if you figure out the GTIN for a product, then search by that GTIN as the query, then each result should come back as a different store
it just means usually you have to do a search on the query, grab the top most relevant GTIN, then make another request to get the store info. Thats how I have done it anyways, would be interested to know if you solved it any other way :)