Comments (6)
As far as I can tell you can't pass the subreddit through a Reddit share because Reddit validates the subreddit before the submission process. I'll write something for passing the title and text later today.
from rrssb.
Thats up
from rrssb.
Thank you!
from rrssb.
Thanks again for this. I'm finally getting around to messing with this. I noticed that I mistyped my question initially. When sharing a link on Reddit, it doesn't really make sense to share a "body" as at that point, you're no longer sharing a link and it becomes a self post. Is there a way to pass in a URL in the reddit share button? Also, regarding passing the subreddit, I noticed on their api page: http://www.reddit.com/dev/api#POST_api_submit they have a way to pass the subreddit. I was wondering if this would allow you to add this functionality?
Thanks
from rrssb.
So if we can't have both text and url (and we should test this I guess), it looks like there is an action to remove the text parameter from both V1 and V2. Also, in that latest API, the URL is slightly different ("/api/submit") and it suggests there should be a kind parameter. I don't have an account to test.
Regarding subreddit - it would be easy to pass it, but how to decide what value to pass? In index.html is could only be an example.
from rrssb.
Sorry for my delayed response here.
it suggests there should be a kind parameter. I don't have an account to test.
What is a "kind parameter?" Also, I have an account and can test things if you needed me to?
Regarding subreddit - it would be easy to pass it, but how to decide what value to pass?
I assume it would just be hard coded? For me, I'd need to only every submit to a single subreddit which will never change.
from rrssb.
Related Issues (20)
- Google+ share gives "Invalid link" when trying to share
- Social Sharing Buttons HOT 1
- SCSS - rrssb-border-radius variable used inconsistently
- Show What`s APP only on mobile Phones HOT 3
- add reddit HOT 2
- Demo Instructions Causing huge icons + incorrect rendering HOT 9
- If I try to share on google plus it says the link isn't valid. HOT 1
- Demo URL is not working HOT 5
- Support Facebook Messenger Send HOT 1
- Add social network odnoklassniki HOT 1
- Are share counts working? HOT 1
- Adblock is realy blocking rrssb-buttons entirely! HOT 7
- Optimal script Usage
- Multiple ajax requests - adjust buttons only inside a div?
- Fixed height
- Link to current page instead of generic link
- PDF icon
- Is it possible to add SMS ?
- rrssb not detecting current url
- How to add tiktok
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rrssb.