FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
Musically-API/examples/unfollow.php at master · mangledbottles/Musically-API · GitHub
mangledbottles
Musically-API
Repository navigation
Code
Issues
10
(10)
Pull requests
1
(1)
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
Musically-API
/
examples
/
unfollow.php
Copy path
More file actions
More file actions
Latest commit
History
History
History
21 lines (18 loc) · 377 Bytes
Breadcrumbs
Musically-API
/
examples
/
unfollow.php
Copy path
File metadata and controls
21 lines (18 loc) · 377 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php
include
(
'
../src/musically.php
'
);
$
username
=
''
;
$
password
=
''
;
$
userId
=
''
;
$
i
=
new
\
MusicallyAPI
\
Musically
();
try
{
$
i
->
login
(
$
username
,
$
password
);
}
catch
(
Exception
$
e
){
var_dump
(
"
An error occurred:
"
.
$
e
);
}
try
{
$
resp
=
$
i
->
unfollow
(
$
userId
);
echo
$
resp
;
}
catch
(
Exception
$
e
){
var_dump
(
"
An error occurred:
"
.
$
e
);
}
?>
Back
|
FazBrowse Home
|
New Git URL