Comments (2)
Can you provide a minimal example that shows the issue, you have provided no context past the single function call, which works for me.
from restcord.
After getting the token following oauth2 login I'm using
$token = $_SESSION['access_token'];
$discord = new DiscordClient(['token' => '$token','tokenType' => 'OAuth']);
var_dump($discord->channel->getChannelMessages(['channel.id' => 924525362489221180]));
Not had issues with APIs before but always had an issue using api's with oauth so I know I'm being stupid somewhere
from restcord.
Related Issues (20)
- Threads HOT 4
- ...->guild->getGuild(...)->getIcon(...); getGuild Icon Error HOT 1
- Support for discord Scheduled Events HOT 5
- [guild.id] must be of type integer Error becouse guild.id is a integer HOT 2
- changing a a guild member's nickname fails HOT 1
- Rate Limiting
- Components integration (creation of buttons/Action Rows doesn't work) HOT 3
- v9.x getGuildMember() breaks BC HOT 2
- 403 Getting Guild Info / Channel Messages HOT 1
- 401 Unauthorized - Using Dev Branch w/ laravel HOT 1
- createDm Error 400 HOT 1
- Is it possible to send private message to a guild member ? HOT 3
- auditLog in v9 does not work HOT 1
- Is it possible to to count role members who are on a voice channel ?
- Update Monolog library to version 3.0 HOT 1
- Need support for php 8.1
- Error using Symfony 6.3 + PHP 8.2 HOT 1
- New username
- There was an error executing the createMessage command: "Content-Type" is not valid header name.
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 restcord.