Hello! The question is:
It is necessary to identify friends of a VK user who liked him on a photo.
VK API offers the following methods suitable for this: 1) Collection of a list of friends (an array in the form of user IDs) 2) Collection of likes under all photos (also in the form of an array with user IDs)
Question: With what operation can you determine who is from the general list of friends, put a Like? Can compare these two arrays and if the same id's are found to output them? But with what function? Waiting for suggestions!