I was looking at eventbrite api and i just wondering is there a way i can register a new ticket for some event knowing it's id?
Eventbrite incorporates a web-based workflow to carry out that task.
Providing a link to your event page should allow the user to complete their registration on their own. You can also manually add an attendee using Eventbrite's web-based event administration tools.
Due to security and privacy considerations, it is not likely that this feature will become available as an API method.
Related
I have an app that requires a user to provide access to their calendar to use a specific feature.
The permission I specifically ask for is -
"calendars.readwrite"
Some of the users have an issue with this and are requesting a solution so that my app can only access those specific events where the attendees are the employees of their company. Is there a permission level solution Microsoft provides for this?
If you want to restrict the calendar events/range then you can use calendarview, but it won't let you what you look for - such as granularity permission (say, calendars.readwrite) or inbuilt functionality doesn't exist at this point with Graph API. If you want Microsoft to implement that feature then consider filing a feature request/uservoice or upvote the existing one.
Summary
As part of my current project, our team is tasked with creating an event in an Exchange calendar and inviting a given email address.
We have so far discovered three ways to do this, each with their own problems.
Unsuitable Solutions
Event Kit
Calendar events can be added easily enough, and although we found a workaround to add attendees, this is explicitly unsupported.
Event Kit cannot add participants to an event nor change participant information.
[Source]
Exchange API
We considered communicating directly with the Exchange API, but this was discounted because it would require the user to authenticate twice, once with our own Web API, and once with Exchange.
Web API
The last option we had, was to send a request through our own Web API (which is already authenticated with Exchange) so that it could make the request on behalf of the app. This was vetoed, among other reasons, because of security concerns.
Question
Are there any options that we have missed for adding an event to an Exchange calendar and adding an attendee, please?
What are the limitations of those options?
I am trying to make a bot that will listen to all public & private channels, and IMs for a team, and will reply when it sees certain trigger words. This will be a "Slack App", installable to your team using the "Add to Slack" button, and includes a "Bot User".
I have asked for the "bot" OAuth scope, and subscribed to the "message.channels,message.groups and message.im" Team Events (at https://api.slack.com/apps/myAppId/event-subscriptions) but do not appear to receive event POSTs through the Events API when new messages are sent.
Adding the "channels:history,groups:history,im:history" scopes makes the bot receive these event POSTs, but I believe only for the user that added the bot, so it will not watch groups that the adding-user was not a member of, or IMs between 2 other users. This means that behaviour will be different, depending on which user installed my bot.
Is there a way of installing the app/bot for an entire team? The documentation seems to indicate that a 'bot' scope should have the ability to receive events, but I am not seeing this (I require the channels:history scope etc. above).
bot - request this scope when your Slack app includes bot user functionality. Unlike incoming-webhook and commands, the bot scope grants your bot user access to a subset of Web API methods, the RTM API, and certain event types in the Events API.
(from https://api.slack.com/docs/oauth-scopes)
The page on bots also claims that a bot can receive all messages through the RTM API:
This websocket will send you all of the messages and activity that happen in public and private channels that the bot user is invited to, as well as messages that are sent to it via direct message. A bot user opens this websocket with the RTM API by sending an authenticated call to the rtm.start API method. To learn more about connecting to the RTM API, read the documentation here.
(from https://api.slack.com/bot-users)
Is this same behaviour possible in the events API without needing to use the RTM API or add those additional scopes mentioned above?
I see from your comment that you have understood that the bot scope (and the channels.message Events subscription) allows your bot to receive from channels it is present in.
You have two options
1) you ask for channel.write scope in addition to bot, and you invite the bot in all channels (using the user token, not the bot token)
2) you work on your onboarding and figure out a way to get your "champion", ie the user who installed your app, to invite your bot in relevant channel.
Keep in mind that solution 1) is usually seen as very intrusive, especially in large teams where most people haven't heard of your app nor taken the decision to install it. But it can be suitable for some very specific use cases. Option 2) is the recommended route, but it is hard :-) Good luck!
I have integrated EventBirte Ticket widget on my site, when some one buy that ticket and make payment and confirmation URL is there that notify me that payment process done with success or or not, but think is that I need a test run with paypal sandbox, to test all my work process.
One thing more I am using EventBrite PHP API for generating Event and Ticket.
Any one have an idea please let me know.
You can test your code without generating any fees by setting up an event with free tickets.
Eventbrite is always free to use whenever your tickets are free.
You should be able to use the Eventbrite API payment_update method, or the web-based event administration interface to configure your paypal email address (or a paypal sandbox email address).
I would refer to this question for help with post-purchase notification hooks:
Are there any callbacks available in the eventbrite api?
I'm trying to build an application that will list events that a user has created on eventbrite using. So the application will have multiple users and for each user, i want to be able to get their event list from eventbrite.
Do i need each user's username and password to do that. What parameters do i need and does the eventbrite api support this.
Thanks
The answer really depends on whether these users have public or private event data.
For public events that have an associated "organizer profile" page, you can use the organizer_list_events API call without providing any additional authentication credentials.
The event_search method may also work well for finding upcoming public events by organizer.
If you want to access both public and private event data, or events that have ended, then you will need to supply some user authentication credentials. The user_list_events API call is probably your best choice in this case.
The most simple method of authenticating as an Eventbrite user involves providing a user_key in your API request. Each user should be able to find their user_key here: eventbrite.com/userkeyapi/
More info on user authentication is available on the Eventbrite developer site:
developer.eventbrite.com/doc/auth/#user_authentication
XML is definitely a supported API response output format.
We have recently launched support for OAuth2.0. This answer may contain some useful information on that subject:
Secure Way of storing Passwords to APIs without OpenID?