Slack bot without admin access [closed] - selenium

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed last month.
Improve this question
Is there a way to build a script / bot (using any language) that can read messages from a slack channel on which I am a user, however I do not have admin access? I’m a user but don’t own the workspace so I can’t add bot integrations or use the API. Maybe I can use selenium or an AppleScript?

The only way to accomplish this is with the Slack API and the [conversations.history][1] endpoint. You can use that endpoint with either the user token or the bot token. But to use the Slack API you have to create and install an app, there's no way around that. Sounds like your Workspace might have Admin Approved Apps enabled which will require your admin to review and approve your app prior to installation.

Related

Problem in accepting the project invitation in gitlab

My friend has created a private GitLab project and has invited me for this. Unfortunately, while I am accepting his invitation, I do not know why my logins are showing invalid evenif i have eneterd the correct ones.

Can an ecommerce site be moved to PWA gradually or needs to be written from scratch? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
We're looking to migrate our ecommerce site to Progressive Web App (PWA). However, we don't know if it's too risky and even possible to gradually migrate website pages and pieces to PWA or it has to be done starting completely from scratch.
Any advice/resources on how a large scale ecommerce can be moved to PWA?
You can do it. Here is no restrictions. Actually PWA is only manifest.json file and service worker. You can implement those fairly easily.
Challenges you will have (but you can solve them gradually):
If you lunch PWA on mobile phone you will not have browser navigation. So you need to implement navigation by yourself, like native app do.
Cache your files wisely. It easy to implement PWA with SPA because all you application in single file and you need to cache only a few files. If you have legacy code you may need to think twice what you want to cache and when. So, when you add PWA on our mobile phone you will have everything you need for proper app life.
Offline. You should understand that user may launch your app without internet connection. Your app should be ready for this.

Login / Register API With Laravel 5 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
How do I can create an API with laravel 5, That will be used for login /register for mobile app? Is there any useful tutorial for this type of API.
Like when someone sends a request from a mobile application, I need to authenticate and then send the proper response against that request.
I've made a very simple version in jQuery format as for example and hosted on GitHub.
Here are all the changes from a fresh Laravel: See all changed files
Feel free to adapt to your code.
You can check the step in each commit.
Create the project (Don't forget to run php artisan make:auth)
Make login support AJAX request (instead of auto redirect) 1a47de4
Login with AJAX (submit login data via AJAX, Please CSRF token header) 80be34d
Make register support AJAX (same as step 2) 89f6dd7
Register via AJAX (Same as step 3) ab8d2d7
Use redirect path from Laravel (Bonus) 27b9a1c4
By the way, for the mobile app, you may need to use access token instead. My example is for web app session. Laravel already have the particular method already just twist a bit.
If you need to create a login register with laravel you can simply use the Heto Multi auth.. All the required details are there..
Heto Multi Auth
Hope This will be helpful
There is a popular tool named - Dingo API which is specially created for Laravel / Lumen Frameworks and is meant to provide you, a set of tools to help you easily and quickly build your own APIs.
The package provide you with these set of features:
Content Negotaition
Authentication
API Versioning
Throttling
Formated / Transformed Responses
API Blueprint Documentation
and much more.
You can find the full documentation of Dingo API here >>
Creating a REST Api on Laravel isn’t very difficult. All we need to keep in mind is that where to start and how to prepare RestFull resources. As usual, you can follow this link: Build Rest Resources With Laravel
And if you want that your API works with Mobile Applications you should use tymon/jwt-auth package.
you can find the tutorial to work with laravel and tymon/jwt-auth in this link: Create an API Server for Mobile Apps using Laravel
The tymon/jwt-auth contains:
Installation of the package.
Configuration
Creating Tokens
Authentication
And the link for tymon/jwt-auth package is:
tymon/jwt-auth package
Here is a solution that shows how to set up register/login/logout endpoints but he changes it slighlty so we don't get the nice effects of too many login attempts etc. https://www.toptal.com/laravel/restful-laravel-api-tutorial
I am still looking for a tutorial on how to do this, will share when I find.

Full SSL security [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I've installed a SSL certificate on my website http://core-electronics.com.au/eCommerce
When I visit it in Chrome it says there are unsecured items on the site. What have I overlooked?
Open the Chrome developer tools and select the Network tab. Refresh your page, and click the first resource on the list. The right pane will transform into a tabbed view, with the selected tab being "Headers", and the first information displayed, Request URL.
Now, cycle through these until you find resources that were loaded from an http connection instead of https. You can use the down key to select the next resource.
I found 7 of them within a few minutes. You should try it.
You cannot have content links pointing to non-SSL URL's. Everything must point to HTTPS URL's. Images, style sheets, scripts, everything.
If you have any embedded plugins, such as the Twitter tweet button, those should use protocol-less URL's.
Open the Firefox content dialog or Chrome developer tools and review all your links. You should be able to spot the insecure content it pretty easily.

facebook connect ( login and register by facebook) [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
i was looking for the right plugin to make register and both login users to my site,
but i've checked facebook connect plugin is no more supported... that's right?
which is the right fb plugin doc link to have registration and login by facebook on our sites?
sincerily i can't find the right link :/
i mean i've found login plugin and registration plugin but which is the one could gives me both fb registration and login actions to my site? some links?
thanks :)
Hey Memento I understand your issue. I was very confused by all of this also and couldn't determine the appropriate way to register the user via Facebook on my site. I suggest actually using the javascript SDK and create your own button based on the user's facebook connection status.
So basically, do the following:
Check if the user is registered via Facebook using FB.getLoginStatus function. If he is, log him into your site. If he's not, then display a button that says Login to Facebook. On click, the button should use the FB.Login function and get the user's permissions. After that, redirect the user to the Facebook Registration form and sign him up. Set the redirect URI of this plugin to the appropriate script in your site which will register him on your site as well.
Let me know if that helps.
This should do....
http://developers.facebook.com/docs/guides/web/