Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7874923
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T02:53:44+00:00 2026-06-03T02:53:44+00:00

I need some album covers for my PHP website but something is not working

  • 0

I need some album covers for my PHP website but something is not working anymore.

I was using a JSON to get Album ID and then i was using this id to get the album cover.

My problem is that i try to decode a json from website but i don’t get any result anymore (it was working before …).

Here is the code (getting JSON and decoding it) :

$req="http://api-v3.deezer.com/1.0/search/track/?q=".$deezer."&index=0&nb_items=8&output=json";
$result = file_get_contents($req);
$testjson=json_decode($result,true);
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T02:53:44+00:00Added an answer on June 3, 2026 at 2:53 am

    I think you are using an old code of Deezer api (1.0 and I don’t get any JSON from your url).

    Try to change $req by :

    $req="http://api.deezer.com/2.0/search/album/?q".$deezer."&index=0&nb_items=8&output=json";
    

    Then, some code are missing and are important to change too.

    When you try to get your image, don’t forget to change the url too with that version (2.0).

    You can find more information on Deezer Api : here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I think I need some sort of Schwartzian Transform to get this working, but
Need some guidance figuring out what went wrong. I've been using mysql, phpmyadmin for
I need some help (sorry for my poor english). I 'm trying to get
I want to use a graph database using php. Can you point out some
I need to center some floated divs inside a container. The code I'm using
I'm using paperclip to upload some attachments to my application. This works fine, but
I have a little problem, I need to load some json data to my
I'm currenlty desigining and building a website where I need to embed some audio
Ok I need some expert advise here.... I have a Photo Album that has_many
I'm using FancyBox on my page, and occasionally (but not always), the lightbox opens

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.