It doesn't appear that you can apply for a visa for Bosnia-Herzegovina in Paris if you're in the country on a short stay.
One of the requirements for obtaining a visa from this embassy is:
- une preuve de légalité de son séjour en France (validité de 90 jours supérieur à la date d’expiration du visa),
proof of the legality of your stay in France (valid for 90 days longer than the visa expiry date)
The embassies in a couple of other countries I checked (UK and US) had similar requirements.
You will need to apply for the visa from the embassy or consulate serving your residence. I was not able to find an official web site for the Bosnian embassy in Libya, but it appears that that would be the correct embassy to apply at.
The embassy in Paris may be willing to waive this requirement, on the grounds that there is no embassy serving your country, and travel to the embassy in Libya would be too dangerous. You should contact the embassy in Paris to ask about this possibility. Interestingly, citizens of neighboring Algeria are directed to apply at the Bosnian embassy in Paris! So this is not entirely out of the question.
There is a possible bright side, though: If you have a valid multiple entry Schengen visa, you can use it to enter Bosnia and Herzegovina for a maximum stay of 15 days, if you travel there from a Schengen country.