XRPL: Request account info for multiple accounts - xrp

Is there a way to request account info for multiple XRPL accounts at the same time with the new WebSocket API's?
When I check on the website: https://xrpl.org/account_info.html I only see an explanation for getting info on 1 account. But let's say I have an interface with 30 XRP accounts, can I request the XRPL info on all 30 of them with a single request?

No, there is not. You have to request the info for each account in a separate request.

Related

Facebook Api Bulk message as Page

I'd like to use the endpoint '{conversation-id}/messages' to send bulk messages. According to the latest update on policies i can send 1 message to each user (says nothing about the users count) outside the 24 hours window ( when i can send multiple messages ).
Can anyone confirm to me that "The restriction on promotional content has been removed for standard messaging." includes the Api endpoint i stated above? is it standard as in non-'bot-like'? or standard as in using the web app ?
Also, if i break the policies in this regard, do they ban the app, the developer or the page?:D

From Gmail to Facebook

Is there any way to post messages received in an email, directly as a Facebook post?
If yes, how can I do that?
I want to automate a page in Fb to spend less time there
Yes, one way of doing it would be to create a service or scheduled task which periodically does the following:
Use gmail API to get all unread messages
Each message will have an ID and you are able to check whether it has been read
Use the IDs to retrieve the message bodies
Use Facebook API to post the body data to the page
You can use Ballerina to create a stand-alone program or a service that you can invoke when it's needed. Use the facebook connector to get a list of comments and posts from your facebook page, create a payload string and send it to a destination email using the gmail connector. Look at the samples shipped with the distribution to get a head start.

How can I get my data from sendgrid?

I am using sendgrid api to send various email(s) my user(s). At sendgrid portal they have give us statistics in a limited way. I can't search my queries as i want. thats why I want that data in my own database. so, I can query as per my need.
My question is, Is there any way to get data/statistics my of account? any service of sendgrid which is provide my data?
thanks
If you enable our event webhook, your application can consume all the data/statistics itself and store that in your db. So for example, SendGrid will post info on the following types of events back to your site (Processed, Dropped, Delivered, Deferred, Bounced, Opened, Link Clicked, Marked as Spam, or Unsubscribed)
You can get more info on our event webhook here:
Event Webhook Docs
Those docs show examples on the data we post to your site as well as the parameters we send for each type of event.

get all outstanding user to user requests with only sender user_id and access token?

I tried $facebook->api('/me/apprequests/'); and that was blank even with 2 outstanding requests sent to 2 different friends. Nothing shows on graph explorer either.
What I need is a way to get this information without knowing the request ID, because I need to add this information to my database after they send a user to user request, to prevent them from sending more than one request to a friend per day. I know other apps do this, but I guess they aren't using FB.ui and probably record that info while sending the request?
There is no way to get requests that user sent via apprequests connection of user object, only those user received.
You can read the apprequests sent to a user by your app by issuing an HTTP GET request to /USER_ID/apprequests with user access_token.
You should store information about requests sent by application on your end if you need that info.

Accessing contact info of Incoming calls/sms

I want to confirm if it is allowed to access the Contact Info of Incoming Calls/SMS programmatically. Are developers allowed to access and retrieve the contact info of incoming calls or sms. Is there any API available for this.
Thanks
Taimur.
You can access Contact info via a published API. But you can't access any info about an incoming SMS or call to use to look up in Contacts, at least in any app running on a stock OS and that complies with the SDK agreement. The app is in a sandbox.
There is no API for what you want.